avcodec/exr: fix undefined shift in pxr24_uncompress()
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 4 Nov 2017 00:19:19 +0000 (01:19 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 5 Nov 2017 02:12:35 +0000 (03:12 +0100)
commit66f0c958bfd5475658b432d1af4d2e174b2dfcda
treeb65b48c655b28c6c05d53b5a99ee4923638a9ccf
parent1358f7ddb3a0b3ebbf2c6100fb31c2c4788b7458
avcodec/exr: fix undefined shift in pxr24_uncompress()

Fixes: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
Fixes: 3787/clusterfuzz-testcase-minimized-5728764920070144

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/exr.c