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>
Sun, 18 Nov 2018 01:35:03 +0000 (02:35 +0100)
commit72268fbdc37ea692f01e0afbddae3939a9c02eb7
treeddf7fb1815e0faaf0b3e90e6af32083a6b48667d
parentf266eca585f0e570350cc54578c762aa8ebd86c7
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