avcodec/mpeg4videodec: Clear partitioned frame in decode_studio_vop_header()
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 4 Nov 2018 18:02:55 +0000 (19:02 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 21 Mar 2019 09:42:51 +0000 (10:42 +0100)
commit86ba4473fa3095b8eb07900d64845bd24302f84a
treeb8357e00756c4f3530b3a4ce25bb89f9ad351ead
parent9664c3a4d40edb77d8e0b7a8b490a5b0d4843e50
avcodec/mpeg4videodec: Clear partitioned frame in decode_studio_vop_header()

partitioned_frame is also set/cleared in decode_vop_header()

Fixes: out of array read
Fixes: 9789/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MPEG4_fuzzer-5638681627983872

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 074187d599a2ece2bdf77bd08b4b797c5800eda6)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/mpeg4videodec.c