ffmpeg/libavcodec
Michael Niedermayer 989a2788c0 avcodec/pnmdec: Use unsigned for maxval rescaling
Fixes: signed integer overflow: 65535 * 55335 cannot be represented in type 'int'
Fixes: 21955/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PGMYUV_fuzzer-5669206981083136

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 49459aca47d4803b2188fbf12b758bd2b01e91d7)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2020-05-21 15:32:29 +02:00
..
2020-05-20 03:16:34 +02:00
2019-12-31 16:57:37 -03:00
2019-12-31 16:57:37 -03:00
2019-12-31 16:57:37 -03:00
2019-09-04 20:26:35 +02:00
2020-05-21 15:32:28 +02:00
2020-05-19 17:17:36 +02:00
2019-12-31 19:51:57 +01:00
2019-09-04 20:26:35 +02:00
2020-05-19 17:17:36 +02:00
2019-09-02 13:53:08 -07:00
2020-05-20 03:24:57 +02:00
2020-05-19 17:17:36 +02:00
2020-05-19 17:17:35 +02:00
2020-05-19 17:17:35 +02:00
2019-09-04 20:26:35 +02:00
2019-12-31 19:51:57 +01:00
2020-05-20 03:11:21 +02:00
2020-05-20 03:08:52 +02:00
2019-12-31 19:51:56 +01:00
2019-12-31 19:51:56 +01:00
2019-12-31 19:51:56 +01:00
2019-09-04 20:26:35 +02:00
2019-09-04 20:26:35 +02:00
2019-08-05 19:34:33 +02:00