avcodec/fitsdec: Check data_min/max
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 12 Jun 2019 22:24:53 +0000 (00:24 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 30 Jun 2019 12:27:04 +0000 (14:27 +0200)
commiteb82d19f035f59edf0aee215f02baaea908875de
tree0d6ec184d853423d6251c6a6dc0c1ee4c5b7c326
parent89b96900fa7c17d0770c9af26af7c3ae36ae0253
avcodec/fitsdec: Check data_min/max

Fixes: division by 0
Fixes: 15206/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FITS_fuzzer-5657260212092928

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