avcodec/hevc_sei: Fix integer overflows in decode_nal_sei_message()
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 15 Dec 2017 16:50:12 +0000 (17:50 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 17 Dec 2017 01:09:31 +0000 (02:09 +0100)
commit991ef6e5b9a6a9d95e274ff6bff52db1c82b3808
tree0a77cd567b8424ca8b424b46779c4cd4f92999f2
parent439fbb9c8b2a90e97c44c7c57245e01ca84c865d
avcodec/hevc_sei: Fix integer overflows in decode_nal_sei_message()

Fixes: signed integer overflow: 2147483520 + 255 cannot be represented in type 'int'
Fixes: 4554/clusterfuzz-testcase-minimized-4843714515042304

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