mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
Fixed the copy length in RtlQueryRegistryValues.
svn path=/trunk/; revision=3006
This commit is contained in:
@@ -292,7 +292,7 @@ RtlQueryRegistryValues(IN ULONG RelativeTo,
|
||||
ValueString->MaximumLength - sizeof(WCHAR));
|
||||
memcpy(ValueString->Buffer,
|
||||
ValueInfo->Data,
|
||||
ValueInfo->DataLength);
|
||||
ValueString->Length);
|
||||
((PWSTR)ValueString->Buffer)[ValueString->Length / sizeof(WCHAR)] = 0;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user