mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-25 04:22:07 +00:00
charmap: Store hashmap nodes in charmap stack
This helps update all the pointers during reallocation.
This commit is contained in:
committed by
Eldred Habert
parent
8885f7bcf6
commit
215e26b478
6
test/asm/pushc-without-switch.asm
Normal file
6
test/asm/pushc-without-switch.asm
Normal 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
|
||||
Reference in New Issue
Block a user