[Bug 796692] sample/bufferlist/buffer: Non-writable container miniobjects allow writable access to their contents, causing memory problems

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jul 5 16:49:52 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=796692

--- Comment #34 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Created attachment 372952
  --> https://bugzilla.gnome.org/attachment.cgi?id=372952&action=edit
bufferlist: Prevent gst_buffer_list_foreach() from modifying non-writeable
lists

Previously gst_buffer_list_foreach() could modify (drop or replace)
buffers in non-writable lists, which could cause all kinds of problems
if other code also has a reference to the list and assumes that it stays
the same.

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