mirror of
https://github.com/reactos/reactos.git
synced 2025-04-20 12:29:56 +00:00
[RTL] Notify verifier when freeing the process page heap
This commit is contained in:
parent
5821136dfa
commit
08d575adf9
1 changed files with 6 additions and 1 deletions
|
@ -1686,7 +1686,12 @@ RtlpPageHeapDestroy(HANDLE HeapPtr)
|
|||
/* Check if it's not a process heap */
|
||||
if (HeapPtr == RtlGetProcessHeap())
|
||||
{
|
||||
DbgBreakPoint();
|
||||
VERIFIER_STOP(APPLICATION_VERIFIER_DESTROY_PROCESS_HEAP,
|
||||
"attempt to destroy process heap",
|
||||
HeapPtr, "Heap handle",
|
||||
0, "",
|
||||
0, "",
|
||||
0, "");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue