Author: jimtabor
Date: Fri Jan 2 20:20:50 2009
New Revision: 38517
URL:
http://svn.reactos.org/svn/reactos?rev=38517&view=rev
Log:
- Add check for null Wnd, see bug 3995.
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/window.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/window.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/window.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/window.c [iso-8859-1] Fri Jan 2 20:20:50
2009
@@ -4562,7 +4562,7 @@
UserEnterExclusive();
- if(!(Window = UserGetWindowObject(hWnd)))
+ if(!(Window = UserGetWindowObject(hWnd)) || !Window->Wnd)
{
UserLeave();
return FALSE;