[KERNEL32]: Fix potential buffer overflow.

svn path=/trunk/; revision=52860
This commit is contained in:
Alex Ionescu
2011-07-25 06:23:50 +00:00
parent f7e57490c6
commit 436714e461
+1 -1
View File
@@ -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"",