diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2021-04-20 20:24:21 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-10-17 21:34:53 +0200 |
commit | af725c3b3634f4c814e8d5d07b93f99752d4d248 (patch) | |
tree | 5dac2dc78c969cbf939f3ee301b623a184f3cd8d /libavformat/nutdec.c | |
parent | b9792b3171ecc627c07f8032af7f48da6daca503 (diff) | |
download | ffmpeg-af725c3b3634f4c814e8d5d07b93f99752d4d248.tar.gz |
avcodec/exr: x/ymax cannot be INT_MAX
The code uses x/ymax + 1 so the maximum is INT_MAX-1
Fixes: signed integer overflow: 2147483647 + 1 cannot be represented in type 'int'
Fixes: 33158/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_EXR_fuzzer-5545462457303040
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 48342aa0750f83006582d1598b5f22297f6dbf83)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/nutdec.c')
0 files changed, 0 insertions, 0 deletions