diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2023-04-16 13:52:32 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2023-05-06 00:32:29 +0200 |
commit | 722ff740550769035ecc7e41fabb6801d6d7b992 (patch) | |
tree | 95ea46ad0939ccf6ca36d6ced9609077acce6acf /doc/APIchanges | |
parent | 8f0e200a12c25e288acd31eff0a5000bc74aa34e (diff) | |
download | ffmpeg-722ff740550769035ecc7e41fabb6801d6d7b992.tar.gz |
avcodec/adpcm: Fix integer overflow in intermediate in ADPCM_XMD
Fixes: runtime error: signed integer overflow: 2140143616 + 254665816 cannot be represented in type 'int'
Fixes: 45982/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ADPCM_XMD_fuzzer-6690181676924928
As a sideeffect this simplifies the equation, the high bits are different after this but only
the low 16bits are stored and used in later steps.
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 'doc/APIchanges')
0 files changed, 0 insertions, 0 deletions