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, 9 Jul 2018 23:18:52 +0000 (01:18 +0200)
commitff587292238c4f35036c5208492f34a546bcc6c7
treed4b935f7462d3f83e2283644f511e02abe1f62de
parent1c0914e4f34edb02a242d58d3929fdd07a59f211
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