[ros-diffs] [cwittich] 34412: don't deref NULL pointer
cwittich at svn.reactos.org
cwittich at svn.reactos.org
Thu Jul 10 16:00:50 CEST 2008
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/ntuser/winpos.c?rev=34412&r1=34411&r2=34412&view=diff
==============================================================================
--- 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;
More information about the Ros-diffs
mailing list