mirror of
https://github.com/reactos/reactos.git
synced 2024-08-07 19:58:21 +00:00
- Fix a critical bug in ExAllocatePoolWithQuota spotted by msvc. Because of the current POOL_TAGGING mess in wdm.h, ExAllocatePoolWithQuotaTag is defined to ExAllocatePoolWithQuota, so when ExAllocatePoolWithQuota called the with-tag version, it ended up calling _itself_. Fix this by undefining the broken macro.
svn path=/trunk/; revision=42215
This commit is contained in:
parent
0f8b51f5ac
commit
64f43cb6a5
|
@ -164,6 +164,7 @@ ExAllocatePoolWithTag (POOL_TYPE PoolType, ULONG NumberOfBytes, ULONG Tag)
|
|||
* @implemented
|
||||
*/
|
||||
#undef ExAllocatePoolWithQuota
|
||||
#undef ExAllocatePoolWithQuotaTag
|
||||
PVOID NTAPI
|
||||
ExAllocatePoolWithQuota (POOL_TYPE PoolType, ULONG NumberOfBytes)
|
||||
{
|
||||
|
@ -201,7 +202,6 @@ ExAllocatePoolWithTagPriority(
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
#undef ExAllocatePoolWithQuotaTag
|
||||
PVOID
|
||||
NTAPI
|
||||
ExAllocatePoolWithQuotaTag (IN POOL_TYPE PoolType,
|
||||
|
|
Loading…
Reference in a new issue