]> git.sesse.net Git - ffmpeg/commit
avcodec/wmavoice: sanity check block_align
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 21 Dec 2019 21:27:37 +0000 (22:27 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 2 Feb 2020 23:11:18 +0000 (00:11 +0100)
commit6847e22c8c85b80bf1d25ec66f77f7ccbcf43aed
tree8de34b63b3ca26c43b2492505f02c7bbeff3385d
parent985d3666f672781152f4b68093740ea6a9888194
avcodec/wmavoice: sanity check block_align

This limit is roughly based on the bitreader limit, its likely a much tighter limit
could be used

Fixes: left shift of 1965039647 by 1 places cannot be represented in type 'int'
Fixes: 19545/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WMAVOICE_fuzzer-5695391899320320
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/wmavoice.c