mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 08:00:24 +00:00
- Add check for probed strings. Thanks, Timo and Thomas.
svn path=/trunk/; revision=38540
This commit is contained in:
parent
856d0c4f7b
commit
b470703879
1 changed files with 1 additions and 0 deletions
|
@ -4548,6 +4548,7 @@ NtUserDefSetText(HWND hWnd, PUNICODE_STRING WindowText)
|
||||||
_SEH2_TRY
|
_SEH2_TRY
|
||||||
{
|
{
|
||||||
SafeText = ProbeForReadUnicodeString(WindowText);
|
SafeText = ProbeForReadUnicodeString(WindowText);
|
||||||
|
ProbeForRead(SafeText.Buffer, SafeText.Length, sizeof(WCHAR));
|
||||||
}
|
}
|
||||||
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
|
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue