[FFmpeg-devel] [PATCH 2/2] avcodec/zmbv: Check that the decompressed data is large enough to contain MVs or an intra frame

Michael Niedermayer michael at niedermayer.cc
Tue Sep 18 00:51:43 EEST 2018

On Mon, Sep 17, 2018 at 09:34:00PM +0200, Michael Niedermayer wrote:
> Fixes: Timeout
> Fixes: 10182/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ZMBV_fuzzer-6245951174344704
> Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
>  libavcodec/zmbv.c | 11 ++++++++++-
>  1 file changed, 10 insertions(+), 1 deletion(-)

will submit a slightly different solution based on discussion with
durandal on IRC

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Its not that you shouldnt use gotos but rather that you should write
readable code and code with gotos often but not always is less readable
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180917/9b16d1b1/attachment.sig>

More information about the ffmpeg-devel mailing list