- Add check for probed strings. Thanks, Timo and Thomas.

svn path=/trunk/; revision=38540
This commit is contained in:
James Tabor 2009-01-04 04:09:19 +00:00
parent 856d0c4f7b
commit b470703879

View file

@ -4548,6 +4548,7 @@ NtUserDefSetText(HWND hWnd, PUNICODE_STRING WindowText)
_SEH2_TRY
{
SafeText = ProbeForReadUnicodeString(WindowText);
ProbeForRead(SafeText.Buffer, SafeText.Length, sizeof(WCHAR));
}
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
{