diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2021-06-10 20:35:43 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-10-09 22:02:20 +0200 |
commit | 33dabdc8a76778933e8f998d148c241e56c4c364 (patch) | |
tree | 9b813cbfa87661bd9f6c9a10370d64cf27ef3608 /libavcodec/vaapi.h | |
parent | 219839f311b9a9903b09fc976864ad26179add73 (diff) | |
download | ffmpeg-33dabdc8a76778933e8f998d148c241e56c4c364.tar.gz |
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>
Diffstat (limited to 'libavcodec/vaapi.h')
0 files changed, 0 insertions, 0 deletions