mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
don't deref NULL pointer
svn path=/trunk/; revision=34412
This commit is contained in:
@@ -117,6 +117,7 @@ BOOL FASTCALL can_activate_window( PWINDOW_OBJECT Wnd OPTIONAL)
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user