avcodec/shorten: Fix a negative left shift in shorten_decode_frame()
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 5 Jun 2018 11:12:54 +0000 (13:12 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 15 Jun 2018 20:31:13 +0000 (22:31 +0200)
commit9a53e8572acc54c8f4bb8ca09f312075f88737f9
tree9bf306864c6e5ccf17224006d1f8f1e5596aea51
parent3aa3b05d64040e4be8e840a969add39ffb72c54a
avcodec/shorten: Fix a negative left shift in shorten_decode_frame()

Fixes: left shift of negative value -9057
Fixes: 8527/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SHORTEN_fuzzer-5666853924896768

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