]> git.sesse.net Git - ffmpeg/commit
avcodec/dfa: Check dimension against maximum
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 16 Apr 2018 20:04:53 +0000 (22:04 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 19 Apr 2018 20:59:40 +0000 (22:59 +0200)
commit9d5a4fcfbb51edc871bdb1c67a88223cbfb1c0e4
tree3674ff501a2d6956280bd71ebc8324695b30cba9
parent9033920bec9ccf17de205fc17c2b330906b200f5
avcodec/dfa: Check dimension against maximum

The headers from where the dimensions are read in actual files
are limited to 16bit per component.

Fixes: Timeout
Fixes: 6305/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DFA_fuzzer-4824270749302784
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/dfa.c