diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2022-11-05 20:03:52 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2022-11-10 21:14:22 +0100 |
commit | f4df49eb483fc49026a8d5578983376347d8e532 (patch) | |
tree | c7fab26b571c599d15fdc2521efad95263495567 /libavcodec/twinvq.c | |
parent | 024c5b4ab436b9e035517e4181dc3499e7095290 (diff) | |
download | ffmpeg-f4df49eb483fc49026a8d5578983376347d8e532.tar.gz |
avcodec/bonk: Use unsigned in predictor_calc_error() to avoid undefined overflows
Fixes: signed integer overflow: 22 * -2107998208 cannot be represented in type 'int'
Fixes: 51363/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_BONK_fuzzer-5660734784143360
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/twinvq.c')
0 files changed, 0 insertions, 0 deletions