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>
Tue, 21 Nov 2017 02:26:20 +0000 (03:26 +0100)
commita756841102b7ce681addf701942286b87911c542
tree3cdb3e9b01fc915b0b72642ec8cc8d25d6072349
parent216a9a1236c93aed026e4b829bf1998aa343980f
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>
(cherry picked from commit 2ab9568a2c3349039eec29fb960fe39de354b514)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/zmbv.c