[oss-fuzz 4728965250220032] Direct-leak · AVI_ChunkRead_list
Ref:
xeon ~/work/git/vlc-security-tools $ VLC_TARGET=avi ASAN_OPTIONS=halt_on_error=1:exitcode=43 \
/home/tom/work/git/vlc-3.0/build-asan-sec-fixed/test/vlc-demux-dec-run /home/tom/Downloads/clusterfuzz*
=================================================================
==2264000==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 152 byte(s) in 1 object(s) allocated from:
#0 0x7f15950f4610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x7f1594539048 in AVI_ChunkRead_list ../../modules/demux/avi/libavi.c:202
#2 0x7f1594538850 in AVI_ChunkRead ../../modules/demux/avi/libavi.c:1003
#3 0x7f159452b9b4 in AVI_ExtractSubtitle ../../modules/demux/avi/avi.c:3097
#4 0x7f1594532d66 in Open ../../modules/demux/avi/avi.c:823
#5 0x7f1594cd3f9a in demux_Probe ../../src/input/demux.c:191
#6 0x7f1594c9c98e in module_load ../../src/modules/modules.c:183
#7 0x7f1594c9d3d1 in vlc_module_load ../../src/modules/modules.c:280
#8 0x7f1594cd497f in demux_NewAdvanced ../../src/input/demux.c:264
#9 0x7f1594cd4c39 in demux_New ../../src/input/demux.c:148
#10 0x56441a8f2304 in demux_process_stream ../../test/src/input/demux-run.c:272
#11 0x56441a8f265d in vlc_demux_process_url ../../test/src/input/demux-run.c:326
#12 0x56441a8f26fc in vlc_demux_process_path ../../test/src/input/demux-run.c:340
#13 0x56441a8f1549 in main ../../test/vlc-demux-run.c:50
#14 0x7f1594a33ca7 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
SUMMARY: AddressSanitizer: 152 byte(s) leaked in 1 allocation(s).
xeon ~/work/git/vlc-security-tools $ ASAN_OPTIONS=halt_on_error=1:exitcode=43 \
/home/tom/work/git/vlc-3.0/build-asan-sec-fixed/test/vlc-demux-dec-run /home/tom/Downloads/clusterfuzz*
=================================================================
==2295225==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 152 byte(s) in 1 object(s) allocated from:
#0 0x7f9bf66f4610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x7f9bf5924048 in AVI_ChunkRead_list ../../modules/demux/avi/libavi.c:202
#2 0x7f9bf5923850 in AVI_ChunkRead ../../modules/demux/avi/libavi.c:1003
#3 0x7f9bf59169b4 in AVI_ExtractSubtitle ../../modules/demux/avi/avi.c:3097
#4 0x7f9bf591dd66 in Open ../../modules/demux/avi/avi.c:823
#5 0x7f9bf62d3f9a in demux_Probe ../../src/input/demux.c:191
#6 0x7f9bf629c98e in module_load ../../src/modules/modules.c:183
#7 0x7f9bf629d3d1 in vlc_module_load ../../src/modules/modules.c:280
#8 0x7f9bf62d497f in demux_NewAdvanced ../../src/input/demux.c:264
#9 0x7f9bf62d4c39 in demux_New ../../src/input/demux.c:148
#10 0x55f1accda304 in demux_process_stream ../../test/src/input/demux-run.c:272
#11 0x55f1accda65d in vlc_demux_process_url ../../test/src/input/demux-run.c:326
#12 0x55f1accda6fc in vlc_demux_process_path ../../test/src/input/demux-run.c:340
#13 0x55f1accd9549 in main ../../test/vlc-demux-run.c:50
#14 0x7f9bf6033ca7 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
SUMMARY: AddressSanitizer: 152 byte(s) leaked in 1 allocation(s).
Samples: