]> git.sesse.net Git - ffmpeg/commit
qt-faststart - stricter input validations
authorerankor <eran.kornblau@kaltura.com>
Tue, 29 May 2018 13:18:05 +0000 (16:18 +0300)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 30 May 2018 00:42:10 +0000 (02:42 +0200)
commit500e6387116230c905b7a39baae7aa86d627a446
tree354497fd210bdd9282be925fc642753a20efb173
parenta9dacdeea6168787a142209bd19fdd74aefc9dd6
qt-faststart - stricter input validations

1. validate the moov size before checking for cmov atom
2. avoid performing arithmetic operations on unvalidated numbers
3. verify the stco/co64 offset count does not overflow the stco/co64
atom (not only the moov atom)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tools/qt-faststart.c