GNOME Bugzilla – Bug 703171
rtph264pay: segfault because of double buffer unmap on error
Last modified: 2013-06-27 15:15:40 UTC
Created attachment 247877 [details] [review] 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.
commit 692206d3a743e851286bf5c272e33f535d13174f Author: David Svensson Fors <davidsf@axis.com> Date: Thu Jun 27 07:40:29 2013 +0200 rtph264pay: avoid double buffer unmap on error Fixes https://bugzilla.gnome.org/show_bug.cgi?id=703171