diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-10-25 01:12:15 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-12-31 19:51:56 +0100 |
commit | 9cf2764389acd24c4b6411ffb886af4f9589f87c (patch) | |
tree | 072b65540f3cad577442b4428a1d9dd5382111ec /libavutil/intmath.h | |
parent | 62dae886b66078ef8658c76b3c3b1bb26665cd44 (diff) | |
download | ffmpeg-9cf2764389acd24c4b6411ffb886af4f9589f87c.tar.gz |
avcodec/cook: Move up and extend block_align check
Fixes: signed integer overflow: 2046820356 * 8 cannot be represented in type 'int'
Fixes: 18391/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_COOK_fuzzer-5631674666188800
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 1c63edcdd208bf18a3be66e94deb6ac115f6364e)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavutil/intmath.h')
0 files changed, 0 insertions, 0 deletions