diff --git a/ntoskrnl/se/sd.c b/ntoskrnl/se/sd.c index 8ede6fbf4ea..7ab6ee9d2bd 100644 --- a/ntoskrnl/se/sd.c +++ b/ntoskrnl/se/sd.c @@ -920,7 +920,7 @@ SeSetSecurityDescriptorInfoEx( } SaclLength = Sacl ? ROUND_UP((ULONG)Sacl->AclSize, 4) : 0; - NewSd = ExAllocatePoolWithTag(NonPagedPool, + NewSd = ExAllocatePoolWithTag(PoolType, sizeof(SECURITY_DESCRIPTOR_RELATIVE) + OwnerLength + GroupLength + DaclLength + SaclLength,