diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-10-19 21:27:41 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-12-31 19:51:56 +0100 |
commit | f0bd54aaa78c9b965c9d135757adfc033bbf54be (patch) | |
tree | f04b8a2f303c1dcab2e7b07d5db48fb7c299f603 /libavfilter/motion_estimation.c | |
parent | 3a6ef1926349c2b810c353956135a481309fa6f7 (diff) | |
download | ffmpeg-f0bd54aaa78c9b965c9d135757adfc033bbf54be.tar.gz |
avutil/lfg: Correct index increment type to avoid undefined behavior
Fixes: signed integer overflow: 2147483647 + 1 cannot be represented in type 'int'
Fixes: 18333/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_COMFORTNOISE_fuzzer-5668481831272448
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 6014bcf1b74e903f535461ade4aa5fb44dbf5d8b)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavfilter/motion_estimation.c')
0 files changed, 0 insertions, 0 deletions