yabfc icon indicating copy to clipboard operation
yabfc copied to clipboard

get_matching_bracket bail early if instructions struct too small

Open rwhitworth opened this issue 7 years ago • 2 comments

Avoids this valgrind output:

==16650== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==16650==  Bad permissions for mapped region at address 0x403B000
==16650==    at 0x4037CA: get_matching_bracket (helpers.c:75)
==16650==    by 0x405C17: optimize_multiplication (optimize.c:94)
==16650==    by 0x401BCB: main (yabfc.c:137)

rwhitworth avatar Jul 07 '17 19:07 rwhitworth

What input file are you running into this error with?

julianneswinoga avatar Jul 08 '17 20:07 julianneswinoga

input.gz

rwhitworth avatar Jul 09 '17 01:07 rwhitworth