Author: fireball
Date: Thu Aug 27 11:11:43 2009
New Revision: 42954
URL:
http://svn.reactos.org/svn/reactos?rev=42954&view=rev
Log:
[win32k]
- Add a missing thread reference. Fixes a crash exposed by AbiWord.
Modified:
branches/arwinss/reactos/subsystems/win32/win32k/wine/queue.c
Modified: branches/arwinss/reactos/subsystems/win32/win32k/wine/queue.c
URL:
http://svn.reactos.org/svn/reactos/branches/arwinss/reactos/subsystems/win3…
==============================================================================
--- branches/arwinss/reactos/subsystems/win32/win32k/wine/queue.c [iso-8859-1] (original)
+++ branches/arwinss/reactos/subsystems/win32/win32k/wine/queue.c [iso-8859-1] Thu Aug 27
11:11:43 2009
@@ -2091,9 +2091,8 @@
}
else
{
- //thread = (PTHREADINFO)grab_object( current );
thread = (PTHREADINFO)PsGetCurrentThreadWin32Thread();
- DPRINT1("Fixme: referencing thread object is missing!\n");
+ ObReferenceObjectByPointer(thread->peThread, 0, NULL, KernelMode);
}
if (thread->queue && (timer = find_timer( thread->queue, win,
req->msg, req->id )))