ASAN:SIGSEGV
=================================================================
==7862==ERROR: AddressSanitizer: SEGV on unknown address 0x00000041bd8c (pc 0x00000041da25 bp 0x7ffcdf11d400 sp 0x7ffcdf11d138 T0)
#00x41da24 in mjs_bcode_part_get_by_offset test/mjs-uaf/build_asan/mjs.c:8042
#10x4265f1 in mjs_exec_internal test/mjs-uaf/build_asan/mjs.c:9866
#20x426873 in mjs_exec_file test/mjs-uaf/build_asan/mjs.c:9889
#30x431348 in main test/mjs-uaf/build_asan/mjs.c:12228
#40x7f524fe1682f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
#50x401af8 in _start ( test/mjs-uaf/bin_asan/bin/mjs_bin+0x401af8)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV test/mjs-uaf/build_asan/mjs.c:8042 mjs_bcode_part_get_by_offset
==7862==ABORTING
The text was updated successfully, but these errors were encountered:
System info:
Ubuntu 16.04.6 LTS, X64, gcc 5.4.0, mjs (latest master 4c870e5)
Compile Command:
Run Command:
POC file:
https://github.com/Clingto/POC/blob/master/MSA/mjs/mjs-7945-mjs_bcode_part_get_by_offset-null-pointer-deref
ASAN info:
The text was updated successfully, but these errors were encountered: