qt-faststart: add validation on ftyp atom size
authorerankor <eran.kornblau@kaltura.com>
Wed, 13 Jun 2018 08:48:20 +0000 (11:48 +0300)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 13 Jun 2018 19:55:19 +0000 (21:55 +0200)
commitee09ffbfd2f744e796d6289523f396d830c025a3
treedba445b227fb4ee2c75cb64a0dfa1551a8b0fb1c
parent2fc108f60f98cd00813418a8754a46476b404a3c
qt-faststart: add validation on ftyp atom size

avoid trying to allocate an unreasonably sized buffer on corrupt files

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