avcodec/snowdec: Fix off by 1 error
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 17 Aug 2017 18:32:03 +0000 (20:32 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 20 Aug 2017 00:59:57 +0000 (02:59 +0200)
commitd132683ddd4050d3fe103ca88c73258c3442dc34
tree21b95b280b21015e51b4b80611155d8807696cab
parent43dab86bcd863739ce51a2742c9f4f5527b5ec7c
avcodec/snowdec: Fix off by 1 error

Fixes: runtime error: index 4 out of bounds for type 'int8_t [4]'
Fixes: 3023/clusterfuzz-testcase-minimized-6421736130084864

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/snowdec.c