Author: cwittich
Date: Thu Jul 10 09:00:50 2008
New Revision: 34412
URL:
http://svn.reactos.org/svn/reactos?rev=34412&view=rev
Log:
don't deref NULL pointer
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/winpos.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/winpos.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/winpos.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/winpos.c [iso-8859-1] Thu Jul 10 09:00:50
2008
@@ -117,6 +117,7 @@
LONG style;
if (!Wnd) return FALSE;
+ if (!Wnd->Wnd) return FALSE;
style = Wnd->Wnd->Style;
if (!(style & WS_VISIBLE) &&
Wnd->OwnerThread->ThreadsProcess != CsrProcess) return FALSE;