projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bff824b
)
[Win32ss]
author
James Tabor
<james.tabor@reactos.org>
Thu, 5 Feb 2015 23:46:57 +0000
(23:46 +0000)
committer
James Tabor
<james.tabor@reactos.org>
Thu, 5 Feb 2015 23:46:57 +0000
(23:46 +0000)
- Validate the parent window before locking it. Attempt to fix CORE-9117.
svn path=/trunk/; revision=66177
reactos/win32ss/user/ntuser/window.c
patch
|
blob
|
history
diff --git
a/reactos/win32ss/user/ntuser/window.c
b/reactos/win32ss/user/ntuser/window.c
index
d747b74
..
15c038d
100644
(file)
--- a/
reactos/win32ss/user/ntuser/window.c
+++ b/
reactos/win32ss/user/ntuser/window.c
@@
-1473,7
+1473,7
@@
static void IntSendParentNotify( PWND pWindow, UINT msg )
if ( (pWindow->style & (WS_CHILD | WS_POPUP)) == WS_CHILD &&
!(pWindow->style & WS_EX_NOPARENTNOTIFY))
{
- if (
pWindow->spwndParent
&& pWindow->spwndParent != UserGetDesktopWindow())
+ if (
VerifyWnd(pWindow->spwndParent)
&& pWindow->spwndParent != UserGetDesktopWindow())
{
USER_REFERENCE_ENTRY Ref;
UserRefObjectCo(pWindow->spwndParent, &Ref);