- fix the length of the dependencies string

- spotted by bugboy <martinmnet at hotmail dot com>

svn path=/trunk/; revision=34634
This commit is contained in:
Ged Murphy 2008-07-21 11:43:55 +00:00
parent 9bd87564c8
commit ee13626507

View file

@ -608,6 +608,8 @@ CreateServiceW(SC_HANDLE hSCManager,
lpStr = lpStr + dwLength;
}
dwDependenciesLength++;
dwDependenciesLength *= sizeof(WCHAR);
}
/* FIXME: Encrypt the password */