After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 775479 - avidemux: memory leak in gst_avi_demux_riff_parse_vprp
avidemux: memory leak in gst_avi_demux_riff_parse_vprp
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 1.10.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-12-01 16:10 UTC by Hanno Böck
Modified: 2016-12-05 09:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Hanno Böck 2016-12-01 16:10:12 UTC
File:
http://samples.mplayerhq.hu/V-codecs/KDM4/kdh4.avi

asan error:

==5019==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 68 byte(s) in 1 object(s) allocated from:
    #0 0x4d4e38 in malloc (/usr/local/bin/gst-discoverer-1.0+0x4d4e38)
    #1 0x7f743e33faa8 in g_malloc (/usr/lib64/libglib-2.0.so.0+0x4faa8)
    #2 0x7f7431f006e7 in gst_avi_demux_riff_parse_vprp /f/gstreamer/gst-plugins-good/gst/avi/gstavidemux.c:1775:10
    #3 0x7f7431f006e7 in gst_avi_demux_parse_stream /f/gstreamer/gst-plugins-good/gst/avi/gstavidemux.c:2194
    #4 0x7f7431ef37d8 in gst_avi_demux_stream_header_pull /f/gstreamer/gst-plugins-good/gst/avi/gstavidemux.c:4049:19
    #5 0x7f7431eed746 in gst_avi_demux_loop /f/gstreamer/gst-plugins-good/gst/avi/gstavidemux.c:5673:13
    #6 0x7f743f1655d3 in gst_task_func /f/gstreamer/gstreamer/gst/gsttask.c:334:5
    #7 0x7f743e362627  (/usr/lib64/libglib-2.0.so.0+0x72627)
    #8 0x7f743e361c94  (/usr/lib64/libglib-2.0.so.0+0x71c94)
    #9 0x7f743ddde453 in start_thread (/lib64/libpthread.so.0+0x7453)
    #10 0x7f743d90e5dc in clone (/lib64/libc.so.6+0xe75dc)

SUMMARY: AddressSanitizer: 68 byte(s) leaked in 1 allocation(s).
Comment 1 Sebastian Dröge (slomo) 2016-12-01 18:05:30 UTC
commit 9a4b1e9cdc73f8ebb1e48ddc10a1918162232fc8
Author: Sebastian Dröge <sebastian@centricular.com>
Date:   Thu Dec 1 20:04:28 2016 +0200

    avidemux: Free vprp chunk also if it existed but we made no use of it
    
    https://bugzilla.gnome.org/show_bug.cgi?id=775479