mirror of
https://github.com/reactos/reactos.git
synced 2025-05-30 14:39:46 +00:00
[NTOS:OB]
- Always set LinkHandle in NtOpenSymbolicLinkObject, as shown by tests CORE-11509 #resolve svn path=/trunk/; revision=71828
This commit is contained in:
parent
385c44897b
commit
b8507bdc86
1 changed files with 10 additions and 12 deletions
|
@ -702,20 +702,18 @@ NtOpenSymbolicLinkObject(OUT PHANDLE LinkHandle,
|
|||
DesiredAccess,
|
||||
NULL,
|
||||
&hLink);
|
||||
if (NT_SUCCESS(Status))
|
||||
|
||||
_SEH2_TRY
|
||||
{
|
||||
_SEH2_TRY
|
||||
{
|
||||
/* Return the handle to caller */
|
||||
*LinkHandle = hLink;
|
||||
}
|
||||
_SEH2_EXCEPT(ExSystemExceptionFilter())
|
||||
{
|
||||
/* Get exception code */
|
||||
Status = _SEH2_GetExceptionCode();
|
||||
}
|
||||
_SEH2_END;
|
||||
/* Return the handle to caller */
|
||||
*LinkHandle = hLink;
|
||||
}
|
||||
_SEH2_EXCEPT(ExSystemExceptionFilter())
|
||||
{
|
||||
/* Get exception code */
|
||||
Status = _SEH2_GetExceptionCode();
|
||||
}
|
||||
_SEH2_END;
|
||||
|
||||
/* Return status to caller */
|
||||
return Status;
|
||||
|
|
Loading…
Reference in a new issue