[FFmpeg-devel] [PATCH] flicvideo: fix crash on flic files with invalid frame size

Michael Niedermayer michaelni at gmx.at
Sat Apr 23 02:17:58 CEST 2011


On Sat, Apr 23, 2011 at 12:15:25AM +0200, Stefano Sabatini wrote:
> Add a check on flic_decode_frame_8BPP(), in case chunk_size is >
> frame_size issue a warning and resize chunk_size to frame_size, in
> order to avoid out-of-buffer reads.
> 
> Fix roundup issue #2520, trac issue #69.
> 
> Signed-off-by: Stefano Sabatini <stefano.sabatini-lala at poste.it>
> ---
>  libavcodec/flicvideo.c |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)

should be ok

& thx for the bugfixing

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If you think the mosad wants you dead since a long time then you are either
wrong or dead since a long time.
-------------- 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/20110423/c98f2da1/attachment.asc>


More information about the ffmpeg-devel mailing list