Merge r16567:16568 from trunk. This fix prevents from corrupting the
message queues.
Modified:
branches/ros-branch-0_2_7/reactos/subsys/win32k/ntuser/msgqueue.c
_____
Modified:
branches/ros-branch-0_2_7/reactos/subsys/win32k/ntuser/msgqueue.c
--- branches/ros-branch-0_2_7/reactos/subsys/win32k/ntuser/msgqueue.c
2005-07-16 13:01:18 UTC (rev 16597)
+++ branches/ros-branch-0_2_7/reactos/subsys/win32k/ntuser/msgqueue.c
2005-07-16 15:19:52 UTC (rev 16598)
@@ -1117,6 +1117,7 @@
Message->CompletionEvent = NULL;
Message->Result = NULL;
RemoveEntryList(&Message->DispatchingListEntry);
+ Message->DispatchingListEntry.Flink = NULL;
break;
}
Entry = Entry->Flink;
@@ -1174,6 +1175,7 @@
Message->CompletionEvent = NULL;
Message->Result = NULL;
RemoveEntryList(&Message->DispatchingListEntry);
+ Message->DispatchingListEntry.Flink = NULL;
break;
}
Entry = Entry->Flink;
Show replies by date