Re: [FFmpeg-devel] [PATCH] hls: fix a null pointer dereference

2015-02-16 Thread Michael Niedermayer
On Mon, Feb 16, 2015 at 07:31:42PM +0100, wm4 wrote: > Not allocating the pls->ctx will crash in libavformat/hls.c:1410, where > it tries to dereference the field. > > Sample: http://ec24.rtp.pt/liverepeater/rtpn.smil/playlist.m3u8 > --- > libavformat/hls.c | 6 +++--- > 1 file changed, 3 inserti

[FFmpeg-devel] [PATCH] hls: fix a null pointer dereference

2015-02-16 Thread wm4
Not allocating the pls->ctx will crash in libavformat/hls.c:1410, where it tries to dereference the field. Sample: http://ec24.rtp.pt/liverepeater/rtpn.smil/playlist.m3u8 --- libavformat/hls.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavformat/hls.c b/libavforma