Author: janderwald
Date: Fri Oct 31 18:34:34 2008
New Revision: 37119
URL:
http://svn.reactos.org/svn/reactos?rev=37119&view=rev
Log:
- Include zero byte in byte count to NtSetValueKey
Modified:
trunk/reactos/base/setup/usetup/registry.c
Modified: trunk/reactos/base/setup/usetup/registry.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/registry…
==============================================================================
--- trunk/reactos/base/setup/usetup/registry.c [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/registry.c [iso-8859-1] Fri Oct 31 18:34:34 2008
@@ -679,7 +679,7 @@
0,
REG_SZ,
(PVOID)InstallPath->Buffer,
- InstallPath->Length);
+ InstallPath->Length + sizeof(WCHAR));
NtClose(KeyHandle);
if (!NT_SUCCESS(Status))
{