mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 16:43:08 +00:00
[NTOS:MM] Do not bugcheck when we are freeing a big allocation for which we didn't manage to insert the tag
This commit is contained in:
parent
f9b89c9961
commit
34630a06ca
1 changed files with 3 additions and 1 deletions
|
@ -2551,6 +2551,8 @@ ExFreePoolWithTag(IN PVOID P,
|
||||||
{
|
{
|
||||||
DPRINT1("Freeing pool - invalid tag specified: %.4s != %.4s\n", (char*)&TagToFree, (char*)&Tag);
|
DPRINT1("Freeing pool - invalid tag specified: %.4s != %.4s\n", (char*)&TagToFree, (char*)&Tag);
|
||||||
#if DBG
|
#if DBG
|
||||||
|
/* Do not bugcheck in case this is a big allocation for which we didn't manage to insert the tag */
|
||||||
|
if (Tag != ' GIB')
|
||||||
KeBugCheckEx(BAD_POOL_CALLER, 0x0A, (ULONG_PTR)P, Tag, TagToFree);
|
KeBugCheckEx(BAD_POOL_CALLER, 0x0A, (ULONG_PTR)P, Tag, TagToFree);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue