[FFmpeg-devel] [PATCH] Fix a buffer overflow in libx264 interface to x264 encoder.
mike.scheutzow at alcatel-lucent.com
Mon Sep 26 18:17:10 CEST 2011
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.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the ffmpeg-devel