mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 21:05:43 +00:00
[Win32ss]
- Validate the parent window before locking it. Attempt to fix CORE-9117. svn path=/trunk/; revision=66177
This commit is contained in:
parent
bff824b2ca
commit
b07541cc5d
1 changed files with 1 additions and 1 deletions
|
@ -1473,7 +1473,7 @@ static void IntSendParentNotify( PWND pWindow, UINT msg )
|
||||||
if ( (pWindow->style & (WS_CHILD | WS_POPUP)) == WS_CHILD &&
|
if ( (pWindow->style & (WS_CHILD | WS_POPUP)) == WS_CHILD &&
|
||||||
!(pWindow->style & WS_EX_NOPARENTNOTIFY))
|
!(pWindow->style & WS_EX_NOPARENTNOTIFY))
|
||||||
{
|
{
|
||||||
if (pWindow->spwndParent && pWindow->spwndParent != UserGetDesktopWindow())
|
if (VerifyWnd(pWindow->spwndParent) && pWindow->spwndParent != UserGetDesktopWindow())
|
||||||
{
|
{
|
||||||
USER_REFERENCE_ENTRY Ref;
|
USER_REFERENCE_ENTRY Ref;
|
||||||
UserRefObjectCo(pWindow->spwndParent, &Ref);
|
UserRefObjectCo(pWindow->spwndParent, &Ref);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue