==29407==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 37331byte(s) in 1 object(s) allocated from:
#00x7f151fe52602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#10x42ffcd in frozen_cb test/mjs-uaf/build_asan/mjs.c:12025
#20x4092c4 in json_parse_string test/mjs-uaf/build_asan/mjs.c:5898
#30x40b482 in json_parse_value test/mjs-uaf/build_asan/mjs.c:5993
#40x40aa25 in json_parse_array test/mjs-uaf/build_asan/mjs.c:5958
#50x40b4c4 in json_parse_value test/mjs-uaf/build_asan/mjs.c:6000
#60x40b863 in json_parse_pair test/mjs-uaf/build_asan/mjs.c:6058
#70x40bc63 in json_parse_object test/mjs-uaf/build_asan/mjs.c:6070
#80x40b4a3 in json_parse_value test/mjs-uaf/build_asan/mjs.c:5996
#90x40c135 in json_doit test/mjs-uaf/build_asan/mjs.c:6083
#100x40f2aa in json_walk test/mjs-uaf/build_asan/mjs.c:6466
#110x4309d9 in mjs_json_parse test/mjs-uaf/build_asan/mjs.c:12133
#120x430f11 in mjs_op_json_parse test/mjs-uaf/build_asan/mjs.c:12193
#130x42572a in mjs_execute test/mjs-uaf/build_asan/mjs.c:9648
#140x4265f1 in mjs_exec_internal test/mjs-uaf/build_asan/mjs.c:9866
#150x426873 in mjs_exec_file test/mjs-uaf/build_asan/mjs.c:9889
#160x431348 in main test/mjs-uaf/build_asan/mjs.c:12228
#170x7f151f80c82f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
SUMMARY: AddressSanitizer: 37331 byte(s) leaked in 1 allocation(s).
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-5794-frozen_cb-memory-leak
ASAN info:
The text was updated successfully, but these errors were encountered: