projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bd8756
)
- fix the length of the dependencies string
author
Ged Murphy
<gedmurphy@reactos.org>
Mon, 21 Jul 2008 11:43:55 +0000
(11:43 +0000)
committer
Ged Murphy
<gedmurphy@reactos.org>
Mon, 21 Jul 2008 11:43:55 +0000
(11:43 +0000)
- spotted by bugboy <martinmnet at hotmail dot com>
svn path=/trunk/; revision=34634
reactos/dll/win32/advapi32/service/scm.c
patch
|
blob
|
history
diff --git
a/reactos/dll/win32/advapi32/service/scm.c
b/reactos/dll/win32/advapi32/service/scm.c
index
4b17d17
..
4a1ad32
100644
(file)
--- 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 */