diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2021-06-10 20:35:43 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-09-09 13:54:52 +0200 |
commit | 81a32fe24e15e79e5248a8c45b8a1bd051d4500f (patch) | |
tree | 62a48e5fe2c303f9142f7800d9c84ec812e78581 /libavfilter/yadif_common.c | |
parent | 386190d873d0eb23e41cf941d009f99214a5b120 (diff) | |
download | ffmpeg-81a32fe24e15e79e5248a8c45b8a1bd051d4500f.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 'libavfilter/yadif_common.c')
0 files changed, 0 insertions, 0 deletions