Michael Niedermayer
240b5f73f1
avcodec/iff: Fix several integer overflows
...
Fixes: negation of -2147483648 cannot be represented in type 'int32_t' (aka 'int'); cast to an unsigned type to negate this value to itself
Fixes: signed integer overflow: -2147483648 - 1 cannot be represented in type 'int32_t' (aka 'int')
Fixes: 20492/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_IFF_ILBM_fuzzer-5764066459254784
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 7a92147f87129851c1cc2c15f4ba714b8cf23f71)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2020-07-03 12:10:24 +02:00
..
2020-07-03 12:10:23 +02:00
2020-01-06 11:30:43 +01:00
2020-07-03 12:10:24 +02:00
2020-07-01 22:25:21 +02:00
2020-07-03 12:10:23 +02:00
2020-07-01 23:03:43 +02:00
2020-07-03 12:10:24 +02:00
2020-07-03 12:10:24 +02:00
2020-01-06 11:30:43 +01:00
2020-01-06 11:30:43 +01:00
2020-07-03 12:10:23 +02:00
2020-01-06 11:30:43 +01:00
2020-01-06 11:30:44 +01:00
2020-01-06 11:30:44 +01:00
2020-01-06 15:03:15 +01:00
2020-07-03 12:10:24 +02:00
2020-01-06 12:10:44 -03:00
2020-07-03 12:10:23 +02:00
2020-01-06 11:30:43 +01:00
2020-07-01 16:59:01 +02:00
2020-07-01 23:18:20 +02:00
2020-07-03 12:10:23 +02:00
2020-07-03 12:10:23 +02:00
2020-01-06 11:56:04 -03:00
2020-07-03 12:10:24 +02:00
2020-07-03 12:10:24 +02:00
2020-07-03 12:10:23 +02:00
2020-07-03 12:10:24 +02:00
2020-07-03 12:10:23 +02:00
2020-01-06 15:03:15 +01:00
2020-07-02 00:27:48 +02:00
2020-01-06 11:30:44 +01:00
2020-01-06 15:03:15 +01:00
2020-07-03 12:10:23 +02:00
2020-07-01 22:29:36 +02:00
2020-07-03 12:10:24 +02:00
2020-07-03 12:10:24 +02:00
2020-01-06 11:30:43 +01:00
2020-07-01 22:28:15 +02:00
2020-01-06 11:30:44 +01:00
2020-07-03 12:10:24 +02:00
2020-01-06 15:03:15 +01:00
2020-07-03 12:10:24 +02:00
2020-07-03 12:10:24 +02:00
2020-07-03 12:10:24 +02:00
2020-01-06 11:30:43 +01:00
2020-01-06 11:30:44 +01:00
2020-07-03 12:10:24 +02:00
2020-07-02 00:20:34 +02:00
2020-07-03 12:10:24 +02:00
2020-07-03 12:10:24 +02:00
2020-07-03 12:10:24 +02:00
2020-01-06 11:30:44 +01:00
2020-07-03 12:10:24 +02:00
2020-07-01 22:30:16 +02:00
2020-07-01 22:30:42 +02:00
2020-07-03 12:10:23 +02:00
2020-05-23 20:34:51 +02:00
2020-05-23 20:34:51 +02:00
2020-01-06 11:30:43 +01:00
2020-05-23 20:34:51 +02:00
2020-01-06 11:30:43 +01:00
2020-07-03 12:10:23 +02:00
2020-07-03 12:10:23 +02:00
2020-07-03 12:10:23 +02:00
2020-01-06 11:30:43 +01:00
2020-01-06 15:03:15 +01:00
2020-07-03 12:10:23 +02:00
2020-07-03 12:10:23 +02:00
2020-01-06 11:30:44 +01:00
2020-01-06 11:30:44 +01:00
2020-07-03 12:10:23 +02:00
2020-01-06 15:03:15 +01:00
2020-07-03 12:10:24 +02:00
2020-01-06 15:03:15 +01:00
2020-07-01 23:01:29 +02:00
2020-01-06 11:30:43 +01:00
2020-07-03 12:10:23 +02:00
2020-01-06 11:30:43 +01:00
2020-01-06 11:30:43 +01:00
2020-07-01 23:04:12 +02:00
2020-07-03 12:10:23 +02:00
2020-07-03 12:10:23 +02:00
2020-07-03 12:10:24 +02:00
2020-01-06 11:30:44 +01:00
2020-07-03 12:10:23 +02:00
2020-07-03 12:10:23 +02:00
2020-01-06 11:30:44 +01:00
2020-01-06 15:03:15 +01:00
2020-01-06 11:30:43 +01:00
2020-07-03 12:10:24 +02:00
2020-01-06 11:30:43 +01:00
2020-01-06 15:03:15 +01:00
2020-07-01 22:20:51 +02:00
2020-01-06 11:30:43 +01:00
2020-01-06 15:03:15 +01:00
2020-07-01 22:18:52 +02:00
2020-01-06 11:30:44 +01:00
2020-01-06 15:03:15 +01:00
2020-07-03 12:10:24 +02:00
2020-01-06 11:30:43 +01:00
2020-01-06 11:30:44 +01:00
2020-01-06 11:30:43 +01:00
2020-07-03 12:10:23 +02:00
2020-07-03 12:10:23 +02:00
2020-01-06 11:30:43 +01:00
2020-07-03 12:10:24 +02:00
2020-07-01 22:26:04 +02:00
2020-01-06 15:03:15 +01:00
2020-01-06 15:03:15 +01:00
2020-07-03 12:10:24 +02:00
2020-01-06 15:03:15 +01:00
2020-07-03 12:10:23 +02:00
2020-01-06 11:30:44 +01:00
2020-07-03 12:10:24 +02:00