avcodec/utils: Fix block align overflow for ADPCM_IMA_WAV
authorMichael Niedermayer <[email protected]>
Wed, 11 Dec 2024 21:37:07 +0000 (22:37 +0100)
committerMichael Niedermayer <[email protected]>
Thu, 27 Feb 2025 16:53:15 +0000 (17:53 +0100)
commita0ec70455caa3ffb86957769fdaac28d1c3d80bc
tree9b27fd4f77ff4014003e5fae270820c5d0b69c14
parent6ad3e87a87cfbbe4a91e28856caa68d99ac9348c
avcodec/utils: Fix block align overflow for ADPCM_IMA_WAV

Fixes: signed integer overflow: 529008646 * 8 cannot be represented in type 'int'
Fixes: 383379145/clusterfuzz-testcase-minimized-ffmpeg_dem_CAF_fuzzer-6674045107503104

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
(cherry picked from commit 93270930798da368d5b1954a73ef7ff9dfa48f73)
Signed-off-by: Michael Niedermayer <[email protected]>
libavcodec/utils.c