mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
return the status code when probing the buffer failed
svn path=/trunk/; revision=13212
This commit is contained in:
parent
d361170c2c
commit
96245a4ae9
1 changed files with 5 additions and 0 deletions
|
@ -384,6 +384,11 @@ NtOpenJobObject(PHANDLE JobHandle,
|
|||
Status = _SEH_GetExceptionCode();
|
||||
}
|
||||
_SEH_END;
|
||||
|
||||
if(!NT_SUCCESS(Status))
|
||||
{
|
||||
return Status;
|
||||
}
|
||||
}
|
||||
|
||||
if(NT_SUCCESS(Status))
|
||||
|
|
Loading…
Reference in a new issue