[gstreamer-bugs] [Bug 167633] New: crash in wavparse

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Wed Feb 16 10:56:01 PST 2005


Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.

 http://bugzilla.gnome.org/show_bug.cgi?id=167633
 GStreamer | gst-plugins | Ver: 0.8.5

           Summary: crash in wavparse
           Product: GStreamer
           Version: 0.8.5
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: blocker
          Priority: Normal
         Component: gst-plugins
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: sc5 at hermes.usherb.ca
         QAContact: gstreamer-bugs at lists.sourceforge.net
                CC: all-bugs at bugzilla.gnome.org


In function gst_wavparse_fmt(), wav->bps is set to a value from the
gst_riff_strf_auds structure. For some (incorrect) files, wav->bps will be 0. In
wavparse's loop and seek functions, the timestamp is divided by wav->bps so it
crashes.

I guess wav->bps should be set at a default value if it is 0, the timestamps
won't be good but at least the filter won't crash.

I'm using gst-plugins-0.8.5 but the same code is in the latest version.

------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list