Files
FFmpeg/libavcodec
Michael Niedermayer 68d77a5580 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 48342aa075)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-10-09 22:02:20 +02:00
..
2016-10-21 23:58:47 +02:00
2020-07-03 16:16:48 +02:00
2016-10-19 10:50:52 +02:00
2016-10-09 20:09:00 +02:00
2020-07-01 12:11:55 +02:00
2016-10-21 23:58:47 +02:00
2017-05-14 12:20:16 +02:00
2021-10-09 22:02:19 +02:00
2018-07-08 19:45:46 +02:00
2017-05-14 17:32:51 +02:00
2016-10-21 20:39:27 +02:00
2020-07-01 12:11:55 +02:00
2018-01-08 23:19:15 +01:00
2020-07-01 12:49:26 +02:00
2018-07-08 19:45:46 +02:00
2021-10-09 22:02:20 +02:00
2016-10-21 23:58:47 +02:00
2016-09-15 21:48:28 +02:00
2016-09-15 21:48:28 +02:00
2020-07-01 12:49:26 +02:00
2020-07-01 12:49:26 +02:00
2018-01-08 23:19:15 +01:00
2020-07-01 12:11:55 +02:00
2016-12-06 00:07:50 +01:00
2016-10-21 23:58:47 +02:00
2016-09-17 13:23:56 +01:00
2016-09-17 13:23:56 +01:00
2019-03-24 10:39:03 +01:00
2016-09-17 13:23:56 +01:00
2016-11-17 23:18:42 +01:00
2020-07-01 12:11:55 +02:00
2021-10-09 22:02:20 +02:00
2020-07-01 12:49:26 +02:00
2017-05-14 12:20:15 +02:00
2020-07-03 16:16:48 +02:00
2021-10-09 22:02:19 +02:00
2016-10-21 23:58:47 +02:00
2020-07-01 12:49:26 +02:00
2020-07-01 12:49:26 +02:00
2020-07-01 12:49:26 +02:00
2018-07-08 19:45:45 +02:00
2021-10-09 22:02:19 +02:00
2020-07-01 12:11:55 +02:00
2021-10-09 22:02:19 +02:00
2020-07-03 16:17:40 +02:00
2020-07-01 12:49:26 +02:00
2020-07-01 12:49:26 +02:00
2020-07-01 12:49:26 +02:00
2020-07-01 12:49:26 +02:00
2020-07-01 12:11:55 +02:00
2017-07-26 00:14:21 +02:00
2019-03-24 10:39:03 +01:00