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>
Thu, 18 Oct 2018 00:28:54 +0000 (02:28 +0200)
commitf72b9904fefa79d799d0f6ecc8bd97ce52658725
treea8459a9cf2b4be755856ef40c2043644fbe6e516
parentd7dbad12f820a72997772ff5e535bee3eb7c5b4b
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>
libavcodec/h264_cavlc.c