FFmpeg/libavformat
Michael Niedermayer 81a32fe24e avformat/rpl: The associative law doesnt hold for signed integers in C
Add () to avoid undefined behavior
Fixes: signed integer overflow: 9223372036854775790 + 57 cannot be represented in type 'long'
Fixes: 34983/clusterfuzz-testcase-minimized-ffmpeg_dem_RPL_fuzzer-5765822923538432

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 480f11bdd713c15e4964093be7ef0adf5b619cc1)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-09-09 13:54:52 +02:00
..
2021-09-09 13:53:29 +02:00
2021-09-09 13:53:29 +02:00
2021-09-09 13:53:29 +02:00
2021-09-09 13:53:29 +02:00
2021-09-09 13:53:29 +02:00
2021-09-09 13:53:29 +02:00
2021-09-09 13:53:29 +02:00
2019-03-14 16:53:57 +01:00
2021-09-09 13:53:29 +02:00
2021-09-09 13:53:29 +02:00
2021-09-09 13:53:29 +02:00
2021-09-09 13:54:52 +02:00
2018-08-14 22:06:30 +05:30
2018-05-05 21:35:31 +02:00
2021-09-09 13:53:29 +02:00
2021-09-09 13:53:29 +02:00
2018-05-21 19:43:04 -03:00
2018-05-21 19:43:04 -03:00
2021-09-09 13:53:29 +02:00
2018-10-13 15:40:08 +02:00
2020-07-03 12:10:24 +02:00
2019-06-27 17:50:47 +02:00
2021-09-09 13:53:29 +02:00
2019-06-27 17:50:47 +02:00
2020-01-06 11:30:42 +01:00