avcodec/zmbv: Check decomp_size
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 16 Aug 2017 14:03:23 +0000 (16:03 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 9 Sep 2017 23:33:28 +0000 (01:33 +0200)
commit99491bd260d3847decb417ede86eb872586f2a6f
tree7991c24695f18e6ec89f290bc621df28c7e34546
parent02d224406f40f45803efd69b8cfe1602649821bc
avcodec/zmbv: Check decomp_size

Fixes: OOM
Fixes: 2710/clusterfuzz-testcase-minimized-4750001420894208

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Tomas Härdin <tjoppen@acc.umu.se>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 931c0ac95cebe62f2bdd53a81bf40e3916be6476)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/zmbv.c