avformat/mov: Do not zero memory that is written too or unused
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 21 Mar 2021 17:08:43 +0000 (18:08 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 1 Apr 2021 09:38:44 +0000 (11:38 +0200)
commit5978b8bd9ce1680bbe412815d8a40ca2089177ab
tree0cc6396524dadfa9f4b7ebf01d84b001d06e9317
parentac0e9506d00c55f77b236486d76d839e8f508991
avformat/mov: Do not zero memory that is written too or unused

Fixes: OOM
Fixes: 31220/clusterfuzz-testcase-minimized-ffmpeg_dem_MOV_fuzzer-6033383962574848

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