[Bug 733695] ximagesrc: Use after free

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jul 24 12:30:32 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=733695
  GStreamer | gst-plugins-good | 1.4.0

--- Comment #1 from Nicolas Dufresne <nicolas.dufresne at collabora.co.uk> 2014-07-24 19:30:28 UTC ---
Created an attachment (id=281633)
 View: https://bugzilla.gnome.org/attachment.cgi?id=281633
 Review: https://bugzilla.gnome.org/review?bug=733695&attachment=281633

[PATCH] ximagesrc: Add missing return value to Buffer dispose function


Depending ont he build, the method could return FALSE, hence never
free the buffers, or already TRUE and lead to a crash:

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=73369
---
 sys/ximage/gstximagesrc.c | 6 +++++-
 sys/ximage/ximageutil.c   | 7 ++++---
 sys/ximage/ximageutil.h   | 2 +-
 3 files changed, 10 insertions(+), 5 deletions(-)

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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