avcodec/parser: Check next index validity in ff_combine_frame()
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 6 Jul 2019 07:21:52 +0000 (09:21 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 17 Jul 2019 21:18:50 +0000 (23:18 +0200)
commit15008db0fac6d97bb939fa7ef9e92d79bf1f7cb1
treeda5c7f69417c739f93215bf988a874dc757b2b02
parentbb326795d13508c1d0ffc97cb5d75e49e1feca35
avcodec/parser: Check next index validity in ff_combine_frame()

Fixes: out of array access
Fixes: 15522/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DNXHD_fuzzer-5747756078989312

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/parser.c