diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-10-19 21:27:41 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-01-06 11:30:44 +0100 |
commit | 1109a736ef1f1720a2edb8f37b02d0df99826242 (patch) | |
tree | b61e21cfe5f3008bd346820de0911f527c6c3821 /libavformat/spdifdec.c | |
parent | 084a3e582b4507dc8d7fc8c6bc7db4016187ed16 (diff) | |
download | ffmpeg-1109a736ef1f1720a2edb8f37b02d0df99826242.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 'libavformat/spdifdec.c')
0 files changed, 0 insertions, 0 deletions