mirror of
https://github.com/reactos/reactos.git
synced 2025-04-21 12:40:33 +00:00
- Add ObpValidateAccessMask stub (only returns success for now) and call it from ObInsertObject
- Fix for Coverity Error CID: 9 svn path=/trunk/; revision=36491
This commit is contained in:
parent
c2ca8fb596
commit
c1a36080a7
1 changed files with 9 additions and 1 deletions
|
@ -450,6 +450,14 @@ ObpChargeQuotaForObject(IN POBJECT_HEADER ObjectHeader,
|
|||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
ObpValidateAccessMask(IN PACCESS_STATE AccessState)
|
||||
{
|
||||
/* TODO */
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
/*++
|
||||
* @name ObpDecrementHandleCount
|
||||
*
|
||||
|
@ -2888,7 +2896,7 @@ ObInsertObject(IN PVOID Object,
|
|||
AccessState->SecurityDescriptor = ObjectCreateInfo->SecurityDescriptor;
|
||||
|
||||
/* Validate the access mask */
|
||||
Status = STATUS_SUCCESS;//ObpValidateAccessMask(AccessState);
|
||||
Status = ObpValidateAccessMask(AccessState);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
/* Fail */
|
||||
|
|
Loading…
Reference in a new issue