mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[NTOS:SE] Do not ignore SepAccessCheckAndAuditAlarmWorker return value
CORE-17637
This commit is contained in:
parent
07d38cd4c5
commit
8178996559
1 changed files with 19 additions and 17 deletions
|
@ -622,23 +622,25 @@ SepAccessCheckAndAuditAlarm(
|
|||
}
|
||||
|
||||
/* Call the worker routine with the captured buffers */
|
||||
SepAccessCheckAndAuditAlarmWorker(&CapturedSubsystemName,
|
||||
HandleId,
|
||||
&SubjectContext,
|
||||
&CapturedObjectTypeName,
|
||||
&CapturedObjectName,
|
||||
CapturedSecurityDescriptor,
|
||||
CapturedPrincipalSelfSid,
|
||||
DesiredAccess,
|
||||
AuditType,
|
||||
HaveAuditPrivilege,
|
||||
CapturedObjectTypeList,
|
||||
ObjectTypeListLength,
|
||||
&LocalGenericMapping,
|
||||
SafeGrantedAccessList,
|
||||
SafeAccessStatusList,
|
||||
&LocalGenerateOnClose,
|
||||
UseResultList);
|
||||
Status = SepAccessCheckAndAuditAlarmWorker(&CapturedSubsystemName,
|
||||
HandleId,
|
||||
&SubjectContext,
|
||||
&CapturedObjectTypeName,
|
||||
&CapturedObjectName,
|
||||
CapturedSecurityDescriptor,
|
||||
CapturedPrincipalSelfSid,
|
||||
DesiredAccess,
|
||||
AuditType,
|
||||
HaveAuditPrivilege,
|
||||
CapturedObjectTypeList,
|
||||
ObjectTypeListLength,
|
||||
&LocalGenericMapping,
|
||||
SafeGrantedAccessList,
|
||||
SafeAccessStatusList,
|
||||
&LocalGenerateOnClose,
|
||||
UseResultList);
|
||||
if (!NT_SUCCESS(Status))
|
||||
goto Cleanup;
|
||||
|
||||
/* Enter SEH to copy the data back to user mode */
|
||||
_SEH2_TRY
|
||||
|
|
Loading…
Reference in a new issue