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, 22 Oct 2018 23:44:40 +0000 (01:44 +0200)
commite6238003876564477ce9ba973630ec45112138e4
treef7278aedcc55d391bedee5b3e0416b906e2d4f42
parent448cd0d0b341e4afb66677a339e9d886f6fa3505
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>
(cherry picked from commit 8ee3265dbe2e85537affe3b3055b00ba8646aa70)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/nuv.c