avcodec/mss3: Check for the rac stream being invalid in rac_normalize()
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 4 Aug 2019 07:33:45 +0000 (09:33 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 5 Aug 2019 15:50:27 +0000 (17:50 +0200)
commit99a172f3f4d0bef024c6293f575caaaddce0b267
treea6407e87966f202273709b3c4f49d1f80e5203d5
parent2cb1f797350875ec45cb20d59dc0684fcbac20fc
avcodec/mss3: Check for the rac stream being invalid in rac_normalize()

Fixes: out of array read
Fixes: 15982/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MSA1_fuzzer-5630676251967488

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