[FFmpeg-devel] [PATCH] Fix a buffer overflow in libx264 interface to x264 encoder.

Michael Niedermayer michaelni at gmx.at
Mon Sep 26 18:48:26 CEST 2011


On Mon, Sep 26, 2011 at 12:17:10PM -0400, Mike Scheutzow wrote:
> My application was reliably segfaulting with certain High Def video.
> 
> The reason is that libx264.c ignores the compressed buffer size
> passed in, and writes into memory it doesn't own.
> 
> This is the code I use to prevent the buffer overflow.
> 
> I am not following ffmpeg-devel closely these days; please cc: me if
> you see a logic error in this patch.
> 
> The approver can commit to git.

applied, thanks


[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire
-------------- 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/20110926/a083d840/attachment.asc>


More information about the ffmpeg-devel mailing list