[Bug 756861] New: hlsdemux: crash / memory leak on broken (master) playlist
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Oct 20 04:55:47 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=756861
Bug ID: 756861
Summary: hlsdemux: crash / memory leak on broken (master)
playlist
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: bgo at andred.net
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
hlsdemux: don't crash / leak memory on broken (master) playlist
If a (master) playlist contains a variant list entry without a URI
then during parsing of the next variant list entry we are
a) leaking the entry we're currently parsing (new_list), and
b) free'ing the pointer to the previous list entry (list) without
updating the pointer.
Hence when then adding the URI for the latest parsed entry, incorrect
information is stored, as the information is used from 'list' which
is not valid memory anymore, also leading to crashes.
Fix this by correctly storing the new variant list entry pointer
as needed.
--
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