]> git.sesse.net Git - ffmpeg/commit
avcodec/binkaudio: Check sample rate
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 10 Oct 2019 22:40:07 +0000 (00:40 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 17 Oct 2019 16:04:37 +0000 (18:04 +0200)
commit2fca09bce49c7de590560d9517fd2414b6c0c14f
treeca1f7324b3c7825716bd48e6db48e4bf61d0d394
parentb288a7eb3d963a175e177b6219c8271076ee8590
avcodec/binkaudio: Check sample rate

Fixes: signed integer overflow: 1092624416 * 2 cannot be represented in type 'int'
Fixes: 18045/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_BINKAUDIO_RDFT_fuzzer-5718519492116480
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Reviewed-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/binkaudio.c