Author: tfaber
Date: Thu Aug 14 07:46:59 2014
New Revision: 63880
URL:
http://svn.reactos.org/svn/reactos?rev=63880&view=rev
Log:
[WIN32K:NTUSER]
- Assert that the thread's sent message queue matches change bits in
UserDbgAssertThreadInfo. Suggested by Giannis.
CORE-7013
Modified:
trunk/reactos/win32ss/user/ntuser/misc.c
Modified: trunk/reactos/win32ss/user/ntuser/misc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/misc.c…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/misc.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/misc.c [iso-8859-1] Thu Aug 14 07:46:59 2014
@@ -656,6 +656,8 @@
ASSERT(pci->ulClientDelta == DesktopHeapGetUserDelta());
if (pti->pcti && pci->pDeskInfo)
ASSERT(pci->pClientThreadInfo == (PVOID)((ULONG_PTR)pti->pcti -
pci->ulClientDelta));
+ if (pti->pcti && IsListEmpty(&pti->SentMessagesListHead))
+ ASSERT((pti->pcti->fsChangeBits & QS_SENDMESSAGE) == 0);
if (pti->KeyboardLayout)
ASSERT(pci->hKL == pti->KeyboardLayout->hkl);
if(pti->rpdesk != NULL)