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, 28 Oct 2018 00:22:42 +0000 (02:22 +0200)
commitced37ef52c24d35ac61bf885a753799d2dee464e
tree7407e918a3c3d3701604a40f75fde9600f70b9c3
parenta3ef90a73cd9a2d09f8529b9672d05a1cf3ea825
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