https://git.reactos.org/?p=reactos.git;a=commitdiff;h=34630a06ca7416dcd98f43...
commit 34630a06ca7416dcd98f436f245be2132278754e Author: Jérôme Gardou jerome.gardou@reactos.org AuthorDate: Mon Feb 22 14:38:36 2021 +0100 Commit: Jérôme Gardou zefklop@users.noreply.github.com CommitDate: Thu Mar 18 12:24:21 2021 +0100
[NTOS:MM] Do not bugcheck when we are freeing a big allocation for which we didn't manage to insert the tag --- ntoskrnl/mm/ARM3/expool.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/ntoskrnl/mm/ARM3/expool.c b/ntoskrnl/mm/ARM3/expool.c index 2cda0ac5b06..1ea7ee6cc46 100644 --- a/ntoskrnl/mm/ARM3/expool.c +++ b/ntoskrnl/mm/ARM3/expool.c @@ -2551,7 +2551,9 @@ ExFreePoolWithTag(IN PVOID P, { DPRINT1("Freeing pool - invalid tag specified: %.4s != %.4s\n", (char*)&TagToFree, (char*)&Tag); #if DBG - KeBugCheckEx(BAD_POOL_CALLER, 0x0A, (ULONG_PTR)P, Tag, TagToFree); + /* 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); #endif }