[Bug 738793] New: speex encoder/decoder multi-time bits destroy

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Oct 18 14:33:36 PDT 2014


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

           Summary: speex encoder/decoder multi-time bits destroy
    Classification: Platform
           Product: GStreamer
           Version: unspecified
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: ananda at latelier23.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=288827)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=288827)
Patch for protection againt multi-time SpeexBits destroy

The speex decoder/encoder may destroy SpeexBits more multi-time (call
speex_bits_destroy(&dec->bits) more than once) and produce a SIGSEV.

After destroying bits in gst_speex_dec_reset() and gst_speex_enc_stop(), we
should add something like:
  speex_bits_set_bit_buffer(&dec->bits, NULL, 0);
or
  dec->bits.owner = 0;

-- 
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