[NTOS:MM]

- Support MmSpecialPoolTag == '*' to mean all tags. By Serge Gautherie.
CORE-12711 #resolve

svn path=/trunk/; revision=73607
This commit is contained in:
Thomas Faber 2017-01-28 13:08:19 +00:00
parent 081ba36892
commit 7d54bdf9cc

View file

@ -78,7 +78,14 @@ MmUseSpecialPool(SIZE_T NumberOfBytes, ULONG Tag)
{
/* Special pool is not suitable for allocations bigger than 1 page */
if (NumberOfBytes > (PAGE_SIZE - sizeof(POOL_HEADER)))
{
return FALSE;
}
if (MmSpecialPoolTag == '*')
{
return TRUE;
}
return Tag == MmSpecialPoolTag;
}