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>
Tue, 27 Feb 2018 18:37:06 +0000 (19:37 +0100)
commit49062a90174b6e4104876c0257dc673a0da854ca
tree178919f573aa8f19fc4b349e5413d344680113cb
parent090c0abff9c8b27304614f15d9464dbf4ea59833
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>
libavcodec/exr.c