mirror of
https://github.com/reactos/reactos.git
synced 2026-07-06 20:54:28 +08:00
- Add check for null Wnd, see bug 3995.
svn path=/trunk/; revision=38517
This commit is contained in:
@@ -4562,7 +4562,7 @@ NtUserDefSetText(HWND hWnd, PUNICODE_STRING WindowText)
|
||||
|
||||
UserEnterExclusive();
|
||||
|
||||
if(!(Window = UserGetWindowObject(hWnd)))
|
||||
if(!(Window = UserGetWindowObject(hWnd)) || !Window->Wnd)
|
||||
{
|
||||
UserLeave();
|
||||
return FALSE;
|
||||
|
||||
Reference in New Issue
Block a user