]> git.sesse.net Git - ffmpeg/commit
avcodec/alac: Fix integer overflow with 24/20bps samples
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 10 May 2020 09:08:28 +0000 (11:08 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 10 May 2020 22:45:09 +0000 (00:45 +0200)
commit22e51e95ac97864b3d7b21124eaf8fcce147f61e
tree3fb7e662c704770b412b6c0b99fa48a13707d21b
parent8ee264e6844518a0f1e23bd5808a60a7c54af429
avcodec/alac: Fix integer overflow with 24/20bps samples

Fixes: signed integer overflow: 1020048 * 4096 cannot be represented in type 'int'
Fixes: 20492/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ALAC_fuzzer-5753877751660544
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/alac.c