return the status code when probing the buffer failed

svn path=/trunk/; revision=13212
This commit is contained in:
Thomas Bluemel 2005-01-22 14:34:54 +00:00
parent d361170c2c
commit 96245a4ae9

View file

@ -384,6 +384,11 @@ NtOpenJobObject(PHANDLE JobHandle,
Status = _SEH_GetExceptionCode();
}
_SEH_END;
if(!NT_SUCCESS(Status))
{
return Status;
}
}
if(NT_SUCCESS(Status))