[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
Mon Jul 9 07:37:56 UTC 2018


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

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #372952|accepted-commit_now         |none
             status|                            |
 Attachment #372952|0                           |1
        is obsolete|                            |

--- Comment #44 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Created attachment 372978
  --> https://bugzilla.gnome.org/attachment.cgi?id=372978&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