Le 07/11/2018 à 14:34, François Revol a écrit :
> When adding thumbnails to OGG files, the line can easily go up to 100kB.
> 
> We thus try to allocate the file size or SIZE_MAX to avoid truncation.
[...]
> +    if (line_size < 1 || line_size > SIZE_MAX)
> +       line_size = SIZE_MAX;

Maybe a lower bound would be enough though, I don't expect 2GB JPEG
files as thumbnails…

François.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to