[ros-diffs] [hbirr] 16598: Merge r16567:16568 from trunk. This fix prevents from corrupting the message queues.

hbirr at svn.reactos.com hbirr at svn.reactos.com
Sat Jul 16 17:19:56 CEST 2005


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;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050716/5fa808e5/attachment.html


More information about the Ros-diffs mailing list