]> git.sesse.net Git - ffmpeg/commit
avcodec/wmalosslessdec: Check that padding bits is not more than sample bits
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 18 Nov 2019 11:49:25 +0000 (12:49 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 15 Dec 2019 00:01:22 +0000 (01:01 +0100)
commit9d428265808255ad2fc60355fe641aaa4fd3dae4
tree1514b0f1245e275336e7f22a80141891253a0964
parent185f441ba26a2112725db1e8f218e54ac8068bbb
avcodec/wmalosslessdec: Check that padding bits is not more than sample bits

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