[Bug 774959] rtpbuffer: fix ensure_buffers
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Nov 25 11:16:40 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=774959
Sebastian Dröge (slomo) <slomo at coaxion.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
commit 036bdf5d2d44facdcf4116ac90d3df29cbd96b8d
Author: Miguel Paris <mparisparis at gmail.com>
Date: Fri Nov 25 10:48:06 2016 +0100
rtpbuffer: Fix ensure_buffers() if whole packet is in one GstMemory
When gst_rtp_buffer_add_extension_onebyte_header() is used over a
GstRtpBuffer that only contains a memory for the whole packet,
ensure_buffers function crashes at the next point:
mem = gst_memory_copy (rtp->map[i].memory, offset, rtp->size[i]);
when i==2 because the payload is not mapped.
In addition the offset is calculated subtracting in the wrong direction.
https://bugzilla.gnome.org/show_bug.cgi?id=774959
--
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