Author: sginsberg
Date: Thu Aug 21 19:26:52 2008
New Revision: 35521
URL:
http://svn.reactos.org/svn/reactos?rev=35521&view=rev
Log:
- Use correct bug code when crashing due to closing a protected handle
- Add INVALID_KERNEL_HANDLE bug code
Modified:
trunk/reactos/include/reactos/mc/bugcodes.mc
trunk/reactos/ntoskrnl/ob/obhandle.c
Modified: trunk/reactos/include/reactos/mc/bugcodes.mc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/mc/bugcode…
==============================================================================
--- trunk/reactos/include/reactos/mc/bugcodes.mc [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/mc/bugcodes.mc [iso-8859-1] Thu Aug 21 19:26:52 2008
@@ -1097,6 +1097,14 @@
PP1_INITIALIZATION_FAILED
.
+MessageId=0x93
+Severity=Success
+Facility=System
+SymbolicName=INVALID_KERNEL_HANDLE
+Language=English
+INVALID_KERNEL_HANDLE
+.
+
MessageId=0x94
Severity=Success
Facility=System
Modified: trunk/reactos/ntoskrnl/ob/obhandle.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ob/obhandle.c?rev…
==============================================================================
--- trunk/reactos/ntoskrnl/ob/obhandle.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ob/obhandle.c [iso-8859-1] Thu Aug 21 19:26:52 2008
@@ -697,7 +697,7 @@
else
{
/* Otherwise, bugcheck the OS */
- KeBugCheckEx(0x8B, (ULONG_PTR)Handle, 0, 0, 0);
+ KeBugCheckEx(INVALID_KERNEL_HANDLE, (ULONG_PTR)Handle, 0, 0, 0);
}
}