Author: tfaber
Date: Wed Feb 25 09:12:56 2015
New Revision: 66448
URL:
http://svn.reactos.org/svn/reactos?rev=66448&view=rev
Log:
[WIN32K:NTUSER]
- Store string system parameter settings null-terminated
CORE-8653 #resolve
Modified:
trunk/reactos/win32ss/user/ntuser/sysparams.c
Modified: trunk/reactos/win32ss/user/ntuser/sysparams.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/syspar…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/sysparams.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/sysparams.c [iso-8859-1] Wed Feb 25 09:12:56 2015
@@ -374,7 +374,7 @@
pwszValue,
REG_SZ,
(PWSTR)pwsz,
- wcslen(pwsz) * sizeof(WCHAR));
+ (wcslen(pwsz) + 1) * sizeof(WCHAR));
}
static