mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[KERNEL32]: Fix potential buffer overflow.
svn path=/trunk/; revision=52860
This commit is contained in:
@@ -322,7 +322,7 @@ BasepFakeStaticServerData(VOID)
|
||||
ASSERT(FALSE);
|
||||
}
|
||||
|
||||
RtlInitEmptyUnicodeString(&BaseSrvCSDString, Buffer, sizeof(Buffer));
|
||||
RtlInitEmptyUnicodeString(&BaseSrvCSDString, Buffer, sizeof(BaseStaticServerData->CSDVersion));
|
||||
|
||||
Status = RtlQueryRegistryValues(RTL_REGISTRY_WINDOWS_NT,
|
||||
L"",
|
||||
|
||||
Reference in New Issue
Block a user