[ros-diffs] [ion] 17226: - Send the pointer to the handle, not the NULL handle itself. This fixes another winetest bugcheck.

ion at svn.reactos.com ion at svn.reactos.com
Tue Aug 9 06:03:20 CEST 2005


- Send the pointer to the handle, not the NULL handle itself. This fixes
another winetest bugcheck.
Modified: trunk/reactos/ntoskrnl/ps/thread.c
  _____  

Modified: trunk/reactos/ntoskrnl/ps/thread.c
--- trunk/reactos/ntoskrnl/ps/thread.c	2005-08-09 03:38:34 UTC (rev
17225)
+++ trunk/reactos/ntoskrnl/ps/thread.c	2005-08-09 04:03:14 UTC (rev
17226)
@@ -705,7 +705,7 @@

                                     PreviousMode,
                                     DesiredAccess,
                                     NULL,
-                                    hThread);
+                                    &hThread);
 
         if (Status != STATUS_SUCCESS)
         {
@@ -747,7 +747,7 @@
                                        DesiredAccess,
                                        PsThreadType,
                                        PreviousMode,
-                                       hThread);
+                                       &hThread);
         if(!NT_SUCCESS(Status))
         {
             DPRINT1("Failure to open Thread\n");
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050809/3991145b/attachment.html


More information about the Ros-diffs mailing list