[vlc-devel] [PATCH] M3u & pls demux: Check the size of each file line to prevent flooding the playlist.

Adrien Maglo magsoft at videolan.org
Wed Apr 24 13:30:23 CEST 2013


On 24/04/2013 13:18, Rafaël Carré wrote:

> 1024 seems too low.
>
> PATH_MAX seems to be 4096 on linux, and browsers are said to accept up
> to 2048 bytes long URLs according to some experiment which can be found
> on Stack Overflow.

Here is a new version of the patch with 4096 as the maximum line size.


-- 
MagSoft

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-M3u-pls-demux-Check-the-size-of-each-file-line-to-pr.patch
Type: text/x-patch
Size: 2384 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20130424/f602235e/attachment.bin>


More information about the vlc-devel mailing list