[Bug 746385] gsttask: function: gst_task_set_lock does not validate arguments which may cause segmentation fault

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jul 13 06:20:34 PDT 2015


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

Tim-Philipp Müller <t.i.m at zen.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |t.i.m at zen.co.uk
         Resolution|---                         |FIXED
   Target Milestone|git master                  |1.5.3

--- Comment #2 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
We don't "have" to check, these checks are only there to aid developers during
their plugin/application development cycle to catch problems early. Developers
can't rely on those checks being there, and on most embedded systems they will
not be present.

commit 3cea60dc6f2d7f8641107348c4a6576308e601cc
Author: Prashant Gotarne <ps.gotarne at samsung.com>
Date:   Wed Mar 18 16:05:34 2015 +0530

    task: add function guard for _set_lock() and fix guard for _join()

    Should only access the object structure after checking
    it's valid in gst_task_join().

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

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