[Bug 703171] New: rtph264pay: segfault because of double buffer unmap on error

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jun 27 02:16:11 PDT 2013


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

           Summary: rtph264pay: segfault because of double buffer unmap on
                    error
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: davidsf at axis.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


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

rtph264pay: avoid double buffer unmap on error

I get a segfault in gstrtph264pay.c when the call to
gst_rtp_h264_pay_set_sps_pps in gst_rtp_h264_pay_setcaps fails. There is a
double gst_buffer_unmap. The buffer has just been unmapped, and then it is
unmapped again when we goto error at the set_sps_pps_failed label.

The attached patch is a suggested fix for this problem.

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