avcodec/h264_slice: Fix signed integer overflow
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 4 Jul 2017 22:05:11 +0000 (00:05 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 5 Jul 2017 01:19:27 +0000 (03:19 +0200)
commit7592d97f10134422d4509ab1287796af70e003ba
treee28ecb685e99568bf9d9ec257836182a6bc985fb
parent95f3c85976ff79af6fd10ce3f7a90fcb054c3fc0
avcodec/h264_slice: Fix signed integer overflow

Fixes: runtime error: signed integer overflow: 26 + 2147483644 cannot be represented in type 'int'
Fixes: 2456/clusterfuzz-testcase-minimized-4822695051001856

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