FFmpeg/libavcodec
Michael Niedermayer f4916e5c97 avcodec/pnm_parser: Check image size addition for overflow
Fixes: assertion failure
Fixes: out of array access
Fixes: 32664/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PGMYUV_fuzzer-6533642202513408.fuzz
Fixes: 32669/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PGMYUV_fuzzer-6001928875147264

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 79ac8d55468adc9cb9a0908e671807a2a789b7d0)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-09-11 21:23:49 +02:00
..
2020-07-03 00:03:44 +02:00
2021-09-11 21:23:48 +02:00
2019-11-14 23:30:37 +01:00
2021-09-11 21:23:48 +02:00
2018-06-18 01:16:03 +02:00
2019-11-15 12:25:45 +01:00
2018-01-28 15:33:08 +01:00
2020-07-02 19:55:09 +02:00
2018-06-18 01:16:04 +02:00
2019-11-15 12:25:46 +01:00
2020-07-02 19:55:09 +02:00
2020-07-02 19:55:10 +02:00
2019-11-14 23:30:37 +01:00
2019-03-24 10:38:51 +01:00
2019-11-15 12:25:45 +01:00
2021-09-11 21:23:49 +02:00
2020-07-02 19:55:09 +02:00
2020-07-03 00:03:44 +02:00
2020-07-02 19:55:10 +02:00
2021-09-11 21:23:48 +02:00
2020-07-02 19:55:09 +02:00
2020-07-02 19:55:09 +02:00
2019-11-15 12:25:45 +01:00
2018-06-18 01:16:03 +02:00
2021-09-11 21:23:48 +02:00
2019-11-14 23:30:37 +01:00
2021-09-11 21:23:48 +02:00
2020-07-03 00:03:45 +02:00
2019-11-15 12:25:47 +01:00
2019-03-24 10:38:51 +01:00
2019-11-15 12:25:46 +01:00
2019-11-15 12:25:45 +01:00
2019-11-15 12:25:45 +01:00
2019-11-15 12:25:45 +01:00
2019-03-24 10:38:51 +01:00