mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
- Fix two potential crashes
svn path=/trunk/; revision=41080
This commit is contained in:
parent
e9441ce05c
commit
25e390f1bd
2 changed files with 2 additions and 0 deletions
|
@ -227,6 +227,7 @@ NtUserNotifyWinEvent(
|
|||
/* Validate input */
|
||||
if (hWnd && (hWnd != INVALID_HANDLE_VALUE) && !(Window = UserGetWindowObject(hWnd)))
|
||||
{
|
||||
UserLeave();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -2042,6 +2042,7 @@ NtUserMessageCall(
|
|||
/* Validate input */
|
||||
if (hWnd && (hWnd != INVALID_HANDLE_VALUE) && !(Window = UserGetWindowObject(hWnd)))
|
||||
{
|
||||
UserLeave();
|
||||
return 0;
|
||||
}
|
||||
switch(dwType)
|
||||
|
|
Loading…
Reference in a new issue