fix buffer overflow
Modified: trunk/reactos/lib/advapi32/service/sctrl.c
--- trunk/reactos/lib/advapi32/service/sctrl.c 2005-10-16 01:27:32 UTC (rev 18490) +++ trunk/reactos/lib/advapi32/service/sctrl.c 2005-10-16 01:29:08 UTC (rev 18491) @@ -204,7 +204,7 @@
lpService->Arguments = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY,
- StartPacket->Size);
+ StartPacket->Size * sizeof(WCHAR));
if (lpService->Arguments == NULL) return ERROR_OUTOFMEMORY;