avcodec/xan: Check for bitstream end in xan_huffman_decode()
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 3 Nov 2017 16:48:29 +0000 (17:48 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 5 Nov 2017 02:12:35 +0000 (03:12 +0100)
commit4b51437dccd62fc5491280db44e3c21b44aeeb3f
tree4f120e23f3157f2b227015a3a933209e6b6e7118
parent66f0c958bfd5475658b432d1af4d2e174b2dfcda
avcodec/xan: Check for bitstream end in xan_huffman_decode()

Fixes: Timeout
Fixes: 3707/clusterfuzz-testcase-6465922706440192

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