mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[MSGINA]
Fix an off-by-one bug! svn path=/trunk/; revision=58329
This commit is contained in:
@@ -470,7 +470,7 @@ DoLoginTasks(
|
||||
pProfile->pszProfile = ProfilePath;
|
||||
|
||||
lpEnvironment = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY,
|
||||
(wcslen(pgContext->Domain)+ 14) * sizeof(WCHAR));
|
||||
(wcslen(pgContext->Domain)+ 14 + 1) * sizeof(WCHAR));
|
||||
if (!lpEnvironment)
|
||||
{
|
||||
WARN("HeapAlloc() failed\n");
|
||||
|
||||
Reference in New Issue
Block a user