]> git.sesse.net Git - ffmpeg/commit
avformat/mov: sanity check STSD entries
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 6 Feb 2021 20:54:31 +0000 (21:54 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 14 Feb 2021 18:55:02 +0000 (19:55 +0100)
commitcb90e1c4d03414b9abc765ab0b91d87a9278fb73
tree260e00b0678c4a59af3b584635cfb8fa5c3bef6b
parent505d6ed4756a68707c26e416646228d5ed31c0f5
avformat/mov: sanity check STSD entries

The choosen value is arbitrary. I am not sure if this is a good idea
but i dont immedeately see an alternative better way, it seems either
an arbitrary limit or OOM

Fixes: OOM
Fixes: 27492/clusterfuzz-testcase-minimized-ffmpeg_dem_MOV_fuzzer-6194970578649088
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