[FFmpeg-devel] [PATCH 1/2] avcodec/cfhd: Check that cropped size is smaller than full

Michael Niedermayer michael at niedermayer.cc
Mon Sep 16 01:24:59 EEST 2019


On Thu, Aug 29, 2019 at 09:04:58PM +0200, Michael Niedermayer wrote:
> Fixes: signed integer overflow: 57342 * 120830 cannot be represented in type 'int'
> Fixes: 16426/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CFHD_fuzzer-5758744817827840
> 
> Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
> ---
>  libavcodec/cfhd.c | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)

will apply

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

Rewriting code that is poorly written but fully understood is good.
Rewriting code that one doesnt understand is a sign that one is less smart
then the original author, trying to rewrite it will not make it better.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190916/26b7c874/attachment.sig>


More information about the ffmpeg-devel mailing list