diff options
author | André Draszik <git@andred.net> | 2015-10-20 09:13:04 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2015-10-25 10:58:20 +0000 |
commit | b1fca495d772f69ed765d8638349e3104943792e (patch) | |
tree | 8ec30dfd62131b4c51a0574b31c81dcb0a9e9c95 /pkgconfig/gstreamer-plugins-bad-uninstalled.pc.in | |
parent | abf3b98a4dc4bc9990836e1d9250b6848c3fbfbf (diff) | |
download | gstreamer-plugins-bad-b1fca495d772f69ed765d8638349e3104943792e.tar.gz |
hlsdemux: don't crash or 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.
https://bugzilla.gnome.org/show_bug.cgi?id=756861
Diffstat (limited to 'pkgconfig/gstreamer-plugins-bad-uninstalled.pc.in')
0 files changed, 0 insertions, 0 deletions