Author: ion
Date: Thu Nov 30 21:30:05 2006
New Revision: 24997
URL:
http://svn.reactos.org/svn/reactos?rev=24997&view=rev
Log:
- Fix a bug in DbgkOpenHandles which was causing file handles to get lost.
- Process create, thread create and DLL load events are now working perfectly. See
http://www.tinykrnl.org/dbgworking.png
Modified:
trunk/reactos/ntoskrnl/dbgk/debug.c
Modified: trunk/reactos/ntoskrnl/dbgk/debug.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/dbgk/debug.c?rev=…
==============================================================================
--- trunk/reactos/ntoskrnl/dbgk/debug.c (original)
+++ trunk/reactos/ntoskrnl/dbgk/debug.c Thu Nov 30 21:30:05 2006
@@ -1039,7 +1039,7 @@
0,
DUPLICATE_SAME_ACCESS,
KernelMode);
- if (NT_SUCCESS(Status)) *DupHandle = NULL;
+ if (!NT_SUCCESS(Status)) *DupHandle = NULL;
/* Close the original handle */
ObCloseHandle(Handle, KernelMode);