mirror of
https://github.com/reactos/reactos.git
synced 2024-07-01 10:20:03 +00:00
[NTOSKRNL:SE]
- Use the correct pool tags for allocations in SepCaptureAcl/SepCaptureSid See issue #7138 for more details. svn path=/trunk/; revision=56806
This commit is contained in:
parent
2f0d0258a2
commit
f7267c995f
|
@ -296,8 +296,9 @@ SepCaptureAcl(IN PACL InputAcl,
|
||||||
}
|
}
|
||||||
_SEH2_END;
|
_SEH2_END;
|
||||||
|
|
||||||
NewAcl = ExAllocatePool(PoolType,
|
NewAcl = ExAllocatePoolWithTag(PoolType,
|
||||||
AclSize);
|
AclSize,
|
||||||
|
TAG_ACL);
|
||||||
if (NewAcl != NULL)
|
if (NewAcl != NULL)
|
||||||
{
|
{
|
||||||
_SEH2_TRY
|
_SEH2_TRY
|
||||||
|
@ -329,8 +330,9 @@ SepCaptureAcl(IN PACL InputAcl,
|
||||||
{
|
{
|
||||||
AclSize = InputAcl->AclSize;
|
AclSize = InputAcl->AclSize;
|
||||||
|
|
||||||
NewAcl = ExAllocatePool(PoolType,
|
NewAcl = ExAllocatePoolWithTag(PoolType,
|
||||||
AclSize);
|
AclSize,
|
||||||
|
TAG_ACL);
|
||||||
|
|
||||||
if (NewAcl != NULL)
|
if (NewAcl != NULL)
|
||||||
{
|
{
|
||||||
|
|
|
@ -285,7 +285,7 @@ SepCaptureSid(IN PSID InputSid,
|
||||||
_SEH2_END;
|
_SEH2_END;
|
||||||
|
|
||||||
/* allocate a SID and copy it */
|
/* allocate a SID and copy it */
|
||||||
NewSid = ExAllocatePool(PoolType, SidSize);
|
NewSid = ExAllocatePoolWithTag(PoolType, SidSize, TAG_SID);
|
||||||
if (!NewSid)
|
if (!NewSid)
|
||||||
return STATUS_INSUFFICIENT_RESOURCES;
|
return STATUS_INSUFFICIENT_RESOURCES;
|
||||||
|
|
||||||
|
@ -312,7 +312,7 @@ SepCaptureSid(IN PSID InputSid,
|
||||||
SidSize = RtlLengthRequiredSid(Sid->SubAuthorityCount);
|
SidSize = RtlLengthRequiredSid(Sid->SubAuthorityCount);
|
||||||
|
|
||||||
/* allocate a SID and copy it */
|
/* allocate a SID and copy it */
|
||||||
NewSid = ExAllocatePool(PoolType, SidSize);
|
NewSid = ExAllocatePoolWithTag(PoolType, SidSize, TAG_SID);
|
||||||
if (NewSid == NULL)
|
if (NewSid == NULL)
|
||||||
return STATUS_INSUFFICIENT_RESOURCES;
|
return STATUS_INSUFFICIENT_RESOURCES;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue