- 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

svn path=/trunk/; revision=24997
This commit is contained in:
Alex Ionescu 2006-11-30 18:30:05 +00:00
parent 5d44e00704
commit ad0227d2bf

View file

@ -1039,7 +1039,7 @@ DbgkpOpenHandles(IN PDBGUI_WAIT_STATE_CHANGE WaitStateChange,
0,
DUPLICATE_SAME_ACCESS,
KernelMode);
if (NT_SUCCESS(Status)) *DupHandle = NULL;
if (!NT_SUCCESS(Status)) *DupHandle = NULL;
/* Close the original handle */
ObCloseHandle(Handle, KernelMode);