avcodec/jpeg2000dec: Fixes invalid shifts in jpeg2000_decode_packets_po_iteration()
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 2 Jul 2018 16:57:05 +0000 (18:57 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 3 Jul 2018 23:10:28 +0000 (01:10 +0200)
commit652d7c6348f96181fa69f8e2afb7b27a14c0a88a
tree38c50d5c716ec9000e99712b31cf1e3735b190b0
parent0898a3d9909960324e27d3a7a4f48c4effbb654a
avcodec/jpeg2000dec: Fixes invalid shifts in jpeg2000_decode_packets_po_iteration()

Fixes: shift exponent 47 is too large for 32-bit type 'int'
Fixes: 9163/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEG2000_fuzzer-5661750182543360

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