]> git.sesse.net Git - ffmpeg/commit
avcodec/cfhd: Check that cropped size is smaller than full
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 29 Aug 2019 16:59:10 +0000 (18:59 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 15 Sep 2019 22:53:18 +0000 (00:53 +0200)
commit9fac243744c6c0ce2a2cf23550bc48b736661379
tree4e5e11e87773e74eb29b9432b2e8d100c19b8372
parent305f6dbb060f490e5de0eed84e3149fcccc0fd91
avcodec/cfhd: Check that cropped size is smaller than full

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