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

Michael Niedermayer michaelni at gmx.at
Wed Apr 27 22:28:02 CEST 2011

On Tue, Apr 26, 2011 at 10:58:57AM +0200, Alexandre Colucci wrote:
> Hi,
> 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.
> Alexandre

>  xsubdec.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> addec7c3f15f9b9e7ab1776df6e6d18eb10bb7ba  submission.diff
> diff --git a/libavcodec/xsubdec.c b/libavcodec/xsubdec.c

LGTM, iam not maintainer though


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No great genius has ever existed without some touch of madness. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110427/6efd061c/attachment.asc>

More information about the ffmpeg-devel mailing list