[Bug 755226] New: dashdemux: download_finish variable is not reset safely

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Sep 18 08:10:38 PDT 2015


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

            Bug ID: 755226
           Summary: dashdemux: download_finish variable is not reset
                    safely
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: florin.apostol at oregan.net
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

download_finished is set to FALSE when the streams are exposed.
It is set to TRUE when the download is finished or when the task
must stop.
After the task has waited on download_finished, it needs to reset it to
FALSE before it releases the fragment_download_lock. If it releases the
lock and does the reset later, it might overwrite a stop request.

The current implementation resets it before waiting on it and worse, does it
without grabbing the lock, so it is very probable that it will override any
stop requests.

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