avformat/mov: Check for duplicate mdcv
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 8 Jun 2021 16:14:21 +0000 (18:14 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 18 Jun 2021 18:53:56 +0000 (20:53 +0200)
commit7af1a73711040b31f567a104dcb7d6c7b17abec7
tree532fb9d4b86c51d2337b736bda79d6cc19be5451
parent79b69b5f4c7f4577972d1dd3accd736b48c91969
avformat/mov: Check for duplicate mdcv

Fixes: memleak
Fixes: 34932/clusterfuzz-testcase-minimized-ffmpeg_dem_MOV_fuzzer-5456227658235904

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 f54d85cee64b98bca5d2bee703f2a266ea75dce7)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/mov.c