From c590b5e083b86e3415af1ef7b276d1e05f434ddc Mon Sep 17 00:00:00 2001 From: Jakob Leben Date: Fri, 30 Oct 2009 02:25:37 +0100 Subject: [PATCH] podcast: fix crash in demuxer --- modules/demux/playlist/podcast.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/demux/playlist/podcast.c b/modules/demux/playlist/podcast.c index 3c255e424a..ee95cea5f1 100644 --- a/modules/demux/playlist/podcast.c +++ b/modules/demux/playlist/podcast.c @@ -203,6 +203,8 @@ static int Demux( demux_t *p_demux ) } case XML_READER_TEXT: { + if(!psz_elname) break; + char *psz_text = xml_ReaderValue( p_xml_reader ); #define SET_DATA( field, name ) \ -- 2.39.5