avcodec/exr: fix invalid shift in unpack_14()
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 21 Feb 2018 03:29:44 +0000 (04:29 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 12 Apr 2018 22:35:15 +0000 (00:35 +0200)
commit4d45d5b606a11f6f401d7694df08e7e47989af32
tree0f8933aaedb054d04292cdd986a7fbd4ba97a7e1
parent5909508e8df3bd762efc0dbd10b5e5a16ed2993e
avcodec/exr: fix invalid shift in unpack_14()

Fixes: 6154/clusterfuzz-testcase-minimized-5762231061970944
Fixes: runtime error: shift exponent 63 is too large for 32-bit type 'int'

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 49062a90174b6e4104876c0257dc673a0da854ca)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/exr.c