[Bug 789476] gdpdepay: assumes wrongly downstream allocator without custom alloc function
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Jan 31 13:01:42 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=789476
Víctor Manuel Jáquez Leal <vjaquez at igalia.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #367572|accepted-commit_now |none
status| |
Attachment #367572|0 |1
is obsolete| |
--- Comment #8 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
Created attachment 367692
--> https://bugzilla.gnome.org/attachment.cgi?id=367692&action=edit
gdpdepay: don't use allocator if it has custom alloc
gdpdepay element uses the decide_allocation to fetch the downstream
allocator. Nonetheless it is possible that allocate uses a custom
alloc function, which is not usable by gdpdepay, crashing later the
application when the allocater buffer is NULL.
This patch checks for the allocator flags and reset it if the
allocator has a custom alloc function.
--
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