diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-10-19 21:27:41 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-12-06 20:30:58 +0100 |
commit | 98510f3c8482bb36b52cf3327c208449b8ec2039 (patch) | |
tree | 9066e26c638b1bdb773d6cabbeed3148441a3387 /libavcodec/wmavoice_data.h | |
parent | 1e57ce1dd5a154454a7099528deeb4e5f9d70472 (diff) | |
download | ffmpeg-98510f3c8482bb36b52cf3327c208449b8ec2039.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 'libavcodec/wmavoice_data.h')
0 files changed, 0 insertions, 0 deletions