mirror of
https://github.com/reactos/reactos.git
synced 2025-05-07 18:56:48 +00:00
don't probe ObjectAttributes if NULL
svn path=/trunk/; revision=13198
This commit is contained in:
parent
bbc9243d77
commit
1b5ef0524f
1 changed files with 1 additions and 1 deletions
|
@ -601,7 +601,7 @@ ObCreateObject (IN KPROCESSOR_MODE ObjectAttributesAccessMode OPTIONAL,
|
||||||
|
|
||||||
ASSERT_IRQL(APC_LEVEL);
|
ASSERT_IRQL(APC_LEVEL);
|
||||||
|
|
||||||
if(AccessMode == UserMode)
|
if(AccessMode == UserMode && ObjectAttributes != NULL)
|
||||||
{
|
{
|
||||||
Status = STATUS_SUCCESS;
|
Status = STATUS_SUCCESS;
|
||||||
_SEH_TRY
|
_SEH_TRY
|
||||||
|
|
Loading…
Reference in a new issue