[Bug 722567] New: Wav parser loops on incorrect wav file

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Jan 19 13:01:04 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=722567
  GStreamer | gst-plugins-good | 1.2.2

           Summary: Wav parser loops on incorrect wav file
    Classification: Platform
           Product: GStreamer
           Version: 1.2.2
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: richard.rojfors at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=266677)
 View: https://bugzilla.gnome.org/attachment.cgi?id=266677
 Review: https://bugzilla.gnome.org/review?bug=722567&attachment=266677

Patch to flush at least 8 bytes.

I had a wave file with a correct RIFF chunk but contained some padded garbage
in the end.

Depending on the data it can cause gst_waveparse_ignore_chunk to flush <=
bytes.
In my case the parser started to loop and flushed 0 bytes.

The attached patch works around this by flushing at least 8 bytes.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list