diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-10-19 21:27:41 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-12-01 17:45:46 +0100 |
commit | 650ce5047cf3e8286e6fbca8cdf14b1bb885bcb1 (patch) | |
tree | 30b710d65f1b6c5c3b857e5a0b2dbf3a6ca4a5ca /compat | |
parent | e2def5f382b03eeec8ec3662daed4381d9c95b92 (diff) | |
download | ffmpeg-650ce5047cf3e8286e6fbca8cdf14b1bb885bcb1.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 'compat')
0 files changed, 0 insertions, 0 deletions