- Fix crash reported in CORE-6734.

svn path=/trunk/; revision=62201
This commit is contained in:
James Tabor 2014-02-16 01:05:04 +00:00
parent ac49d0b2d3
commit e3a1a7262d

View file

@ -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.