charmap: Store hashmap nodes in charmap stack

This helps update all the pointers during reallocation.
This commit is contained in:
Jakub Kądziołka
2021-04-16 13:58:27 +02:00
committed by Eldred Habert
parent 8885f7bcf6
commit 215e26b478
4 changed files with 34 additions and 24 deletions

View File

@@ -0,0 +1,6 @@
; Triggering a charmap realloc while the charmap has been pushed onto the stack used
; to induce a use-after-free.
pushc
charmap "000000000000000000000000000000000",12
popc
charmap "000000000000000000000000000000000",34

View File

View File