From ee13626507a42bd9f55543cf4997deb203ea9a5c Mon Sep 17 00:00:00 2001 From: Ged Murphy Date: Mon, 21 Jul 2008 11:43:55 +0000 Subject: [PATCH] - fix the length of the dependencies string - spotted by bugboy svn path=/trunk/; revision=34634 --- reactos/dll/win32/advapi32/service/scm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reactos/dll/win32/advapi32/service/scm.c b/reactos/dll/win32/advapi32/service/scm.c index 4b17d17efdc..4a1ad32da5b 100644 --- a/reactos/dll/win32/advapi32/service/scm.c +++ b/reactos/dll/win32/advapi32/service/scm.c @@ -608,6 +608,8 @@ CreateServiceW(SC_HANDLE hSCManager, lpStr = lpStr + dwLength; } dwDependenciesLength++; + + dwDependenciesLength *= sizeof(WCHAR); } /* FIXME: Encrypt the password */