gstreamer/ext/hls
André Draszik e0b4290998 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
2015-10-25 09:26:34 +00:00
..
gstfragmented.h hls: remove unused macro and direct gio usage 2015-09-30 00:43:26 +01:00
gstfragmentedplugin.c Make the hls plugin depend on gnutls and move to ext/hls/ 2013-03-19 10:54:18 +01:00
gsthlsdemux.c hlsdemux: change dispose function to finalize 2015-10-23 18:51:43 +01:00
gsthlsdemux.h hlsdemux: remove more unused attributes 2015-05-27 06:17:49 -03:00
gsthlssink.c hls: remove unused macro and direct gio usage 2015-09-30 00:43:26 +01:00
gsthlssink.h Make the hls plugin depend on gnutls and move to ext/hls/ 2013-03-19 10:54:18 +01:00
gstm3u8playlist.c hls: m3u8playlist: more clean-ups 2015-09-30 00:43:26 +01:00
gstm3u8playlist.h hls: m3u8playlist: more clean-ups 2015-09-30 00:43:26 +01:00
m3u8.c hlsdemux: don't crash or leak memory on broken master playlist 2015-10-25 09:26:34 +00:00
m3u8.h hlsdemux: m3u8: clean-up: remove unused argument in function call 2015-10-23 18:19:55 +01:00
Makefile.am hls: remove unused macro and direct gio usage 2015-09-30 00:43:26 +01:00