avcodec/zmbv: Check that the buffer is large enough for mvec
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 15 Nov 2017 16:11:12 +0000 (17:11 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 18 Nov 2017 10:57:57 +0000 (11:57 +0100)
commit2ab9568a2c3349039eec29fb960fe39de354b514
treeed6419f57e0a0a4dd82fd2586f6a6ceb465a6db0
parent73964680d7bce6d81ddc553a24d73e9a1c9156f9
avcodec/zmbv: Check that the buffer is large enough for mvec

Fixes: Timeout
Fixes: 4143/clusterfuzz-testcase-4736864637419520

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