Author: gedmurphy
Date: Mon Jul 21 06:43:55 2008
New Revision: 34634
URL:
http://svn.reactos.org/svn/reactos?rev=34634&view=rev
Log:
- fix the length of the dependencies string
- spotted by bugboy <martinmnet at hotmail dot com>
Modified:
trunk/reactos/dll/win32/advapi32/service/scm.c
Modified: trunk/reactos/dll/win32/advapi32/service/scm.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/service…
==============================================================================
--- trunk/reactos/dll/win32/advapi32/service/scm.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/advapi32/service/scm.c [iso-8859-1] Mon Jul 21 06:43:55 2008
@@ -608,6 +608,8 @@
lpStr = lpStr + dwLength;
}
dwDependenciesLength++;
+
+ dwDependenciesLength *= sizeof(WCHAR);
}
/* FIXME: Encrypt the password */