GNOME Bugzilla – Bug 773643
wavparse: crashes on invalid wav file
Last modified: 2016-11-02 21:15:29 UTC
Based on 2016-3941 (vlc related) I had the 'overflow.wav' still on my disk. As a result, tracker-extract kept on crashing - backtrace turns out to be in wavparse.c from gst-plugins-good so it seems to some degree Gstreamer is also affected by that same sec issue
Stack trace (of tracker-extract): (gdb) bt
+ Trace 236780
Any chance you could make that file available somewhere, or attache the first MB or so? (head --bytes=1M overflow.wav > head.wav)
Created attachment 338741 [details] The wav file in question
The same crash can also be seen by gst-play-1.0 overflow.wav; so tracker is not even needed (Even though it's where I saw it and what causes quite some pain, as the extractor stops working completely)
Created attachment 338813 [details] [review] wavparse: Don't try to add srcpad if we don't know valid caps yet Otherwise we'll run into an assertion on specially crafted files.
(In reply to Dominique Leuenberger from comment #0) > so it seems to some degree Gstreamer is also affected by that same sec issue Fortunately not as a security issue though, we run into an assertion here instead of doing a buffer overflow or other fancy things
commit 9ba6fb86d8e63a83031824d25d633116e78b4c66 Author: Sebastian Dröge <sebastian@centricular.com> Date: Mon Oct 31 09:00:49 2016 +0200 wavparse: Don't try to add srcpad if we don't know valid caps yet Otherwise we'll run into an assertion on specially crafted files. https://bugzilla.gnome.org/show_bug.cgi?id=773643