projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[USERENV]
[reactos.git]
/
reactos
/
dll
/
win32
/
userenv
/
environment.c
diff --git
a/reactos/dll/win32/userenv/environment.c
b/reactos/dll/win32/userenv/environment.c
index
20c1b0f
..
ccb36d8
100644
(file)
--- a/
reactos/dll/win32/userenv/environment.c
+++ b/
reactos/dll/win32/userenv/environment.c
@@
-340,6
+340,7
@@
SetUserEnvironment(LPVOID *lpEnvironment,
}
/* Allocate buffers */
+ dwMaxValueNameLength++;
lpValueName = LocalAlloc(LPTR,
dwMaxValueNameLength * sizeof(WCHAR));
if (lpValueName == NULL)