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-06-12 20:06:20 +10:00
2019-06-26 21:25:10 +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-06-12 20:06:20 +10: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-04-21 19:43:14 +02:00
2019-05-06 23:58:34 +02:00
2019-12-31 19:51:57 +01:00
2019-01-16 01:29:18 +01:00
2019-06-29 19:22:19 +02:00
2019-07-01 13:24:57 +08: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
2019-03-31 23:35:00 +02:00
2020-05-20 03:24:57 +02:00
2020-05-19 17:17:36 +02:00
2019-01-12 17:16:47 +01:00
2020-05-19 17:17:35 +02:00
2019-05-07 11:00:19 +08:00
2019-04-03 23:00:15 +08: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
2019-07-08 09:38:03 +02: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-06-12 20:06:20 +10: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
2019-05-02 15:36:16 +02:00