aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mlpdsp.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2020-07-23 23:41:27 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2020-10-05 21:28:08 +0200
commit185a720a4d0770ee1ae991eb27b5f97b03c84ae2 (patch)
tree6494698f97921d7c85dce7dd080e2f76997362aa /libavcodec/mlpdsp.h
parentfdaead7e2369c6b8b0e6453918e5429d098afdef (diff)
downloadffmpeg-185a720a4d0770ee1ae991eb27b5f97b03c84ae2.tar.gz
avcodec/alac: Check decorr_shift to avoid invalid shift
Later the decorrelate_stereo call is guarded by channels == 2 and non-zero decorr_left_weight. Make sure decorr_shift is in the expected shift range for that case. Fixes: shift exponent 128 is too large for 32-bit type 'int' Fixes: 23860/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ALAC_fuzzer-5751138914402304 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Reviewed-by: Alexander Strasser <eclipse7@gmx.net> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 4333718b357a9ad195031e5d0ea080d37677b795) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/mlpdsp.h')
0 files changed, 0 insertions, 0 deletions