avcodec/msvideo1: Check buffer size before re-getting the frame
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 4 May 2017 13:24:46 +0000 (15:24 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 20 May 2017 01:41:33 +0000 (03:41 +0200)
commit0a391b738ecbf36c9106b52bbeb552d3ab269032
tree2b4dd56ea4d7453d84c335758e4f8e85e7aeb982
parent533999aaadc41f2521e3e22d034a3500d1bf6e48
avcodec/msvideo1: Check buffer size before re-getting the frame

Fixes timeout
Fixes: 1306/clusterfuzz-testcase-minimized-6152296217968640

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit cabfed6895fcc679cd6a6244a12d800e0f3f2d20)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/msvideo1.c