avcodec/diracdec: Check perspective_exp and zrs_exp.
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 15 Aug 2017 01:32:43 +0000 (03:32 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 16 Aug 2017 22:23:01 +0000 (00:23 +0200)
commit1e6cab874512070b36267a5a53fd053f90072fa2
tree79ceb32af26e8562133b566bc3e362f4c721cd59
parent366e6bfc517ca1728753f7c87cdfdeb384b4b000
avcodec/diracdec: Check perspective_exp and zrs_exp.

Fixes: undefined shift
Fixes: runtime error: shift exponent 264 is too large for 32-bit type 'int'
Fixes: 2860/clusterfuzz-testcase-minimized-4672811689836544

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