]> git.sesse.net Git - ffmpeg/commit
avcodec/mvha: Check remaining space when reading VLC table probabilities
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 5 Dec 2019 23:07:17 +0000 (00:07 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 6 Dec 2019 10:25:29 +0000 (11:25 +0100)
commite7011a0ca6548e12b458259c51e305e8a4d5ae2e
treee1aac261aa44704c49d5fb0d3f0e8b3061287f87
parent5ee4c12ec277028ece4b18c703dc9cd3e3b885e0
avcodec/mvha: Check remaining space when reading VLC table probabilities

Fixes: Infinite loop
Fixes: 19183/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MVHA_fuzzer-5666216765292544
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/mvha.c