avcodec/h264_cavlc: Check mb_skip_run
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 4 Oct 2018 01:13:41 +0000 (03:13 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 22 Oct 2018 23:44:41 +0000 (01:44 +0200)
commitf9cfdf2baefd89fd6ef55afb0832aa1e2155a3b9
treef66679f8b0a194cd2ef1abf8238adbce6c1a4b91
parentb15db639a5caccb2f69c1b37707e09820231b5f8
avcodec/h264_cavlc: Check mb_skip_run

Fixes: 10300/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_H264_fuzzer-6292205497483264
Fixes: signed integer overflow: -2147483648 - 1 cannot be represented in type 'int'

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