[vlc-devel] [PATCH] Always append a null character when reading HLS playlist

Jean-Baptiste Kempf jb at videolan.org
Fri Jul 22 02:25:37 CEST 2011

Le 20/07/2011 17:01, Luc Saillard a écrit :
> The httplive module doesn't always append a null character after reading the
> playlist. Many str* function is used on the playlist buffer (strstr, printf,
> ...). We must ensure that the buffer is null terminated, else we will read
> random data.
> We also have two functions readM3u8() and read_M3u8() that does the same
> job. Rewrite it into read_M3U8_from_url() and read_M3U8_from_stream().

Applied. Thanks.

Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device

More information about the vlc-devel mailing list