Index: dll/win32/advapi32/service/scm.c =================================================================== --- dll/win32/advapi32/service/scm.c (révision 57194) +++ dll/win32/advapi32/service/scm.c (copie de travail) @@ -305,6 +305,7 @@ lpStr = lpStr + dwLength; } dwDependenciesLength++; + dwDependenciesLength *= sizeof(CHAR); } /* FIXME: Encrypt the password */ @@ -383,6 +384,7 @@ lpStr = lpStr + dwLength; } dwDependenciesLength++; + dwDependenciesLength *= sizeof(WCHAR); } /* FIXME: Encrypt the password */ @@ -573,6 +575,7 @@ lpStr = lpStr + dwLength; } dwDependenciesLength++; + dwDependenciesLength *= sizeof(CHAR); } /* FIXME: Encrypt the password */ @@ -665,7 +668,6 @@ lpStr = lpStr + dwLength; } dwDependenciesLength++; - dwDependenciesLength *= sizeof(WCHAR); }