Closed jruderman closed 3 years ago
mymake.cpp
-fsanitize=address
savemem.hyperrogue.ini
memory_saving_mode=yes
./hyper -c savemem.hyperrogue.ini -W "Rose" -I "Shielding" 10000 -I "Aether" 10000
Result: heap-use-after-free when buildRosemap calls whirlwind::cat on a deleted cell.
buildRosemap
whirlwind::cat
rose asan log.txt
(Initially reported by aismallard; I helped narrow down the cause.)
mymake.cpp
, add-fsanitize=address
to the compiler and linker flags)savemem.hyperrogue.ini
containingmemory_saving_mode=yes
./hyper -c savemem.hyperrogue.ini -W "Rose" -I "Shielding" 10000 -I "Aether" 10000
Result: heap-use-after-free when
buildRosemap
callswhirlwind::cat
on a deleted cell.rose asan log.txt
(Initially reported by aismallard; I helped narrow down the cause.)