[Bug 701323] New: input-selector: crash when requesting "active" property of pad with no selector
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu May 30 18:39:00 PDT 2013
https://bugzilla.gnome.org/show_bug.cgi?id=701323
GStreamer | gstreamer (core) | git
Summary: input-selector: crash when requesting "active"
property of pad with no selector
Classification: Platform
Product: GStreamer
Version: git
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: self at brendanlong.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created an attachment (id=245696)
View: https://bugzilla.gnome.org/attachment.cgi?id=245696
Review: https://bugzilla.gnome.org/review?bug=701323&attachment=245696
Return FALSE for "active" property on input-selector pad if the input selector
is deleted
It's possible to have a reference to an input-selectors pads after it is
deleted. If you do a `g_object_get(pad, "active", &active; NULL)`, it will
segfault because the input selector (`sel`) is NULL.
This patch returns FALSE if there's no selector.
--
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