[ros-diffs] [gedmurphy] 34634: - fix the length of the dependencies string - spotted by bugboy <martinmnet at hotmail dot com>

gedmurphy at svn.reactos.org gedmurphy at svn.reactos.org
Mon Jul 21 13:43:55 CEST 2008


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/scm.c?rev=34634&r1=34633&r2=34634&view=diff
==============================================================================
--- 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 */



More information about the Ros-diffs mailing list