avcodec/vp8: Check for bitsteam end in decode_mb_row_no_filter()
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 28 Feb 2017 02:55:02 +0000 (03:55 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 1 Mar 2017 13:07:33 +0000 (14:07 +0100)
commit7b5ff7d57355dc608f0fd86e3ab32a2fda65e752
treea137fd528071d3c8e1cbfefbfa55932bcdbf2633
parent4bd3f1ce3e68a9348e97ec07a247048ea72ed808
avcodec/vp8: Check for bitsteam end in decode_mb_row_no_filter()

Fixes timeout with 686/clusterfuzz-testcase-5853946876788736

this shortcuts (i.e. speeds up) the error and
return-to-user when decoding a truncated frame

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Previous version reviewed by: "Ronald S. Bultje" <rsbultje@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/vp8.c
libavcodec/vp8.h