[FFmpeg-devel] [PATCH] Fix buffer over-read in XSUB decoder

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon May 2 18:58:42 CEST 2011


On Tue, Apr 26, 2011 at 10:58:57AM +0200, Alexandre Colucci wrote:
> The attached patch fixes a buffer over-read when decoding XSUB subtitles. The rlelen represents the length of the first field only and not the whole buffer. See also xsubenc.c.

Pushed, with some adjustments (removing unused rlelen variable,
explaining why we ignore the value).


More information about the ffmpeg-devel mailing list