[WIN32K:NTUSER] Add missing parameter probe in NtUserGetClassInfo.

This commit is contained in:
Thomas Faber 2019-12-29 15:02:11 +01:00
parent e7814f19fb
commit 975e117780
No known key found for this signature in database
GPG key ID: 076E7C3D44720826

View file

@ -2706,6 +2706,10 @@ NtUserGetClassInfo(
{
ProbeForWrite( lpWndClassEx, sizeof(WNDCLASSEXW), sizeof(ULONG));
RtlCopyMemory( &Safewcexw, lpWndClassEx, sizeof(WNDCLASSEXW));
if (ppszMenuName)
{
ProbeForWrite(ppszMenuName, sizeof(*ppszMenuName), sizeof(PVOID));
}
}
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
{