avcodec/ccaption_dec: Add a blank like at the end to avoid rollup reading from outside
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 20 Apr 2019 16:11:42 +0000 (18:11 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 27 Jun 2019 15:50:47 +0000 (17:50 +0200)
commitd39467262d2f34803eccf6b48560b65b37efeee4
tree4a6b5dbe624df984871211aae4ced5ca52ff01c9
parent92205c4a1d422230702a09cbebd70a780627d1b1
avcodec/ccaption_dec: Add a blank like at the end to avoid rollup reading from outside

Fixes: index 20 out of bounds for type 'const char *[4][128]'
Fixes: 14367/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CCAPTION_fuzzer-5718819672162304

Reviewed-by: Paul B Mahol <onemda@gmail.com>
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 f17e8e90bb1fe5e4db18cc6dde9522417108c7bd)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/ccaption_dec.c