[Bug 779524] buffer with video meta information do not support memory split buffers

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Mar 16 12:56:07 UTC 2017


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

--- Comment #11 from Christophe Fergeau <cfergeau at redhat.com> ---
Just to make things clear (they weren't for me when reading this bug report).
What Frediano is trying to use is a GstBuffer containing several chunks, each
chunk contains N * stride bytes (N is potentially different between each
chunk), with offset/stride metada attached to that buffer. What then happens is
some display corruption as GStreamer only try to use the first chunk, and does
some out of bounds reads on that chunk (as it assumes it's aligned on a plane
boundary?)

Is your « We could validate and warn if the remaining memory space is too small
» suggestion aimed at fixing this buffer overflow?

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