[vlc-devel] [PATCH] stream_ReadLine: increase line length limit

Rémi Denis-Courmont remi at remlab.net
Wed Jul 22 16:36:09 CEST 2020


Le maanantaina 20. heinäkuuta 2020, 14.11.34 EEST Pierre Ynard via vlc-devel a 
écrit :
> Very long lines are occasionally encountered in text web resources such
> as HTML, JSON or other API data.

And? HTML is not a line-based format to begin with. JSON hardly either.

> This bumps the hardcoded limit from
> 200 kB to 4 MB, which should be sufficient to support more than most of
> them, but still reasonable to prevent any issue.

Nack. The limit is already insanely high considering the use cases, simple 
playlist and subtitle formats. We don't want to inject 4 MiB URLs.

-- 
雷米‧德尼-库尔蒙
http://www.remlab.net/





More information about the vlc-devel mailing list