mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 12:53:09 +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,
|
0,
|
||||||
REG_SZ,
|
REG_SZ,
|
||||||
(PVOID)InstallPath->Buffer,
|
(PVOID)InstallPath->Buffer,
|
||||||
InstallPath->Length);
|
InstallPath->Length + sizeof(WCHAR));
|
||||||
NtClose(KeyHandle);
|
NtClose(KeyHandle);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue