[Bug 789476] Segfault with gdp data

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jan 29 12:00:15 UTC 2018


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

--- Comment #4 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
Created attachment 367572
  --> https://bugzilla.gnome.org/attachment.cgi?id=367572&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