avcodec/nuv: Check for minimum input size for uncomprssed and rtjpeg
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 27 Feb 2018 14:17:12 +0000 (15:17 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 12 Mar 2018 00:32:42 +0000 (01:32 +0100)
commit8ee3265dbe2e85537affe3b3055b00ba8646aa70
tree43694352ef08fa861e8ed8575012c2054365f49c
parent64c9ce0abc0fd8774b523afda3ddb17c86caa86a
avcodec/nuv: Check for minimum input size for uncomprssed and rtjpeg

Fixes: Timeout
Fixes: 6297/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_NUV_fuzzer-4882404863901696

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/nuv.c