avcodec/utvideodec: Fix integer overflow in decode_plane()
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 10 May 2020 19:16:59 +0000 (21:16 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 11 May 2020 23:00:28 +0000 (01:00 +0200)
commit876cfa67f37e944b0f42cb67b2de4e2e06f52e82
tree9dd1f202b2e26986369715c30f72cc9dc9c9a480
parent8627885172cc54db95f86529d134308d4d095054
avcodec/utvideodec: Fix integer overflow in decode_plane()

Fixes: signed integer overflow: 2147483594 + 142 cannot be represented in type 'int'
Fixes: 20492/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_UTVIDEO_fuzzer-5658568101724160

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