mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-27 19:25:36 +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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user