mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 19:05:52 +00:00
- Include zero byte in byte count to NtSetValueKey
svn path=/trunk/; revision=37119
This commit is contained in:
parent
ff88c3b914
commit
f327269375
1 changed files with 1 additions and 1 deletions
|
@ -679,7 +679,7 @@ SetInstallPathValue(PUNICODE_STRING InstallPath)
|
|||
0,
|
||||
REG_SZ,
|
||||
(PVOID)InstallPath->Buffer,
|
||||
InstallPath->Length);
|
||||
InstallPath->Length + sizeof(WCHAR));
|
||||
NtClose(KeyHandle);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue