==26273==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 80byte(s) in 2 object(s) allocated from:
#00x7ffff6f02602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#10xad2eed in dinf_New isomedia/box_code_base.c:945
Indirect leak of 160byte(s) in 2 object(s) allocated from:
#00x7ffff6f02961 in realloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98961)
#10x46c43a in realloc_chain utils/list.c:622
#20x46c43a in gf_list_add utils/list.c:629
Indirect leak of 96byte(s) in 2 object(s) allocated from:
#00x7ffff6f02602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#10xad1d0d in url_New isomedia/box_code_base.c:575
Indirect leak of 80byte(s) in 2 object(s) allocated from:
#00x7ffff6f02602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#10xad318d in dref_New isomedia/box_code_base.c:1005
Indirect leak of 32byte(s) in 2 object(s) allocated from:
#00x7ffff6f02602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
#10x46c27d in gf_list_new utils/list.c:602
SUMMARY: AddressSanitizer: 448byte(s) leaked in 10 allocation(s).
Edit
This bug issue still exists in latest version 0.8.0: 4c19ae5 and 0.9.0: 1de1f8d
Addition: This bug was found with our fuzzer, which is based on AFL. Our fuzzer is developed by Yuanpingyu(cfenicey@gmail.com) 、Yanhao and Marsman1996(lqliuyuwei@outlook.com)
The text was updated successfully, but these errors were encountered:
Clingto
changed the title
AddressSanitizer: 4 memory leaks of dinf_New()、gf_list_add()、url_New()、gf_list_new()
AddressSanitizer: a memory leak of dinf_New()
Jan 2, 2020
System info:
Ubuntu 16.04.6 LTS, X64, gcc 5.4.0, gpac (master 6ada10e)
Compile Command:
Run Command:
POC file:
https://github.com/Clingto/POC/blob/master/gpac-MP4Box/POC-memory-leak
ASAN info:
Edit
This bug issue still exists in latest version 0.8.0: 4c19ae5 and 0.9.0: 1de1f8d
Addition: This bug was found with our fuzzer, which is based on AFL. Our fuzzer is developed by Yuanpingyu(cfenicey@gmail.com) 、Yanhao and Marsman1996(lqliuyuwei@outlook.com)
The text was updated successfully, but these errors were encountered: