mirror of
https://github.com/reactos/reactos.git
synced 2024-07-14 08:26:08 +00:00
[KERNEL32]: Fix potential buffer overflow.
svn path=/trunk/; revision=52860
This commit is contained in:
parent
f7e57490c6
commit
436714e461
|
@ -322,7 +322,7 @@ BasepFakeStaticServerData(VOID)
|
||||||
ASSERT(FALSE);
|
ASSERT(FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
RtlInitEmptyUnicodeString(&BaseSrvCSDString, Buffer, sizeof(Buffer));
|
RtlInitEmptyUnicodeString(&BaseSrvCSDString, Buffer, sizeof(BaseStaticServerData->CSDVersion));
|
||||||
|
|
||||||
Status = RtlQueryRegistryValues(RTL_REGISTRY_WINDOWS_NT,
|
Status = RtlQueryRegistryValues(RTL_REGISTRY_WINDOWS_NT,
|
||||||
L"",
|
L"",
|
||||||
|
|
Loading…
Reference in a new issue