diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2021-06-10 20:35:43 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-10-06 13:54:16 +0200 |
commit | b65f9e606a0811439195dac6006284c0cc6cab40 (patch) | |
tree | ccc7bcd0053c18450cd2bbc305b799b1205c8cab /libavformat/mov_esds.c | |
parent | 2955147e93f0aab6b13f38f240e1787c69670e78 (diff) | |
download | ffmpeg-b65f9e606a0811439195dac6006284c0cc6cab40.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 'libavformat/mov_esds.c')
0 files changed, 0 insertions, 0 deletions