don't probe ObjectAttributes if NULL
Modified: trunk/reactos/ntoskrnl/ob/object.c
_____
Modified: trunk/reactos/ntoskrnl/ob/object.c
--- trunk/reactos/ntoskrnl/ob/object.c 2005-01-21 22:25:54 UTC (rev
13197)
+++ trunk/reactos/ntoskrnl/ob/object.c 2005-01-21 23:01:33 UTC (rev
13198)
@@ -601,7 +601,7 @@
ASSERT_IRQL(APC_LEVEL);
- if(AccessMode == UserMode)
+ if(AccessMode == UserMode && ObjectAttributes != NULL)
{
Status = STATUS_SUCCESS;
_SEH_TRY