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>
Mon, 8 Jan 2018 22:19:14 +0000 (23:19 +0100)
commitd6ff6dc56bf3a719ebdf922f95c88889623337a8
tree20ba4e8590988ad21106ac834b325d429f386506
parent37a14a3d83a3b988c061ef5004141fe49eae33e0
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