]> git.sesse.net Git - ffmpeg/commit
avcodec/wmavoice: Check sample_rate
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 23 Oct 2019 20:32:47 +0000 (22:32 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 9 Nov 2019 16:27:20 +0000 (17:27 +0100)
commit55c97a763783540ee48a326a3e82fbdea42f8280
tree2588e3dba793aadcd0d2fae5c741e743e01c513a
parent9ea997395909907f569787d4ba5b96352ad31a80
avcodec/wmavoice: Check sample_rate

Fixes: left shift of 538976288 by 8 places cannot be represented in type 'int'
Fixes: 18376/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WMAVOICE_fuzzer-5741645391200256
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