projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac49d0b
)
- Fix crash reported in CORE-6734.
author
James Tabor
<james.tabor@reactos.org>
Sun, 16 Feb 2014 01:05:04 +0000
(
01:05
+0000)
committer
James Tabor
<james.tabor@reactos.org>
Sun, 16 Feb 2014 01:05:04 +0000
(
01:05
+0000)
svn path=/trunk/; revision=62201
reactos/win32ss/user/ntuser/msgqueue.c
patch
|
blob
|
history
diff --git
a/reactos/win32ss/user/ntuser/msgqueue.c
b/reactos/win32ss/user/ntuser/msgqueue.c
index
eef0857
..
f447511
100644
(file)
--- a/
reactos/win32ss/user/ntuser/msgqueue.c
+++ b/
reactos/win32ss/user/ntuser/msgqueue.c
@@
-1775,6
+1775,7
@@
co_MsqPeekHardwareMessage(IN PTHREADINFO pti,
if (IsListEmpty(CurrentEntry)) break;
if (!CurrentMessage) break;
CurrentEntry = CurrentMessage->ListEntry.Flink;
+ if (!CurrentEntry) break; //// Fix CORE-6734 reported crash.
/*
MSDN:
1: any window that belongs to the current thread, and any messages on the current thread's message queue whose hwnd value is NULL.