]> git.sesse.net Git - ffmpeg/commit
avformat/mov: Check a.size before computing next_root_atom
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 28 Nov 2020 20:20:43 +0000 (21:20 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 18 Jan 2021 23:05:50 +0000 (00:05 +0100)
commit8c9a5a0fe9f27be35332a2b8f604dc85d219a056
tree4690be7cdc59769ca5fa3e2d6d2d5209e9dc3c1e
parentac6c8993f79eaefb76e1fdf0eef5373ab3a46a4e
avformat/mov: Check a.size before computing next_root_atom

Fixes: signed integer overflow: 64 + 9223372036854775799 cannot be represented in type 'long'
Fixes: 27563/clusterfuzz-testcase-minimized-ffmpeg_dem_MOV_fuzzer-6244650163372032
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/mov.c