[vlc-devel] [PATCH] demux: plug leaks

Rémi Denis-Courmont remi at remlab.net
Tue Sep 5 18:43:00 CEST 2017


Le tiistaina 5. syyskuuta 2017, 13.12.57 EEST Shaleen Jain a écrit :
> So this would be a temporal leak?
> 
> ==7820==ERROR: LeakSanitizer: detected memory leaks
> 
> Direct leak of 1 byte(s) in 1 object(s) allocated from:
>     #0 0x7f3e46ccb860 in __interceptor_malloc
> /build/gcc/src/gcc/libsanitizer/asan/asan_malloc_linux.cc:62
>     #1 0x7f3e3ca50b02 in es_out_Add ../include/vlc_es_out.h:123
>     #2 0x7f3e3ca50b02 in Parse demux/mpeg/es.c:517
>     #3 0x7f3e3ca517df in OpenCommon demux/mpeg/es.c:267
>     #4 0x7f3e3ca51b43 in OpenAudio demux/mpeg/es.c:282
>     #5 0x7f3e467da86f in module_load modules/modules.c:183
>     #6 0x7f3e467db1e6 in vlc_module_load modules/modules.c:279
>     #7 0x7f3e468223aa in demux_NewAdvanced input/demux.c:264
>     #8 0x7f3e468227a6 in demux_New input/demux.c:148
>     #9 0x5628874ec663 in FuzzerTestOneInput
> /home/shalzz/builds/vlc/test/fuzz/libvlc_demux_fuzzer.cpp:114

No, this would be a non-temporal leak in the used ES output implementation.

-- 
雷米‧德尼-库尔蒙
https://www.remlab.net/



More information about the vlc-devel mailing list