avformat/mov: Disallow ".." in dref unless use_absolute_path is set
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 14 Mar 2015 20:32:35 +0000 (21:32 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 22 Apr 2015 10:27:24 +0000 (12:27 +0200)
commit5922e5a84eb3bcd19c09def7046a595dece989d3
tree35426d32a5d18d4153583eea45a3e0eb5b890523
parentf000df4ce2a70bbbdfbd9efb7650f970ed65bd19
avformat/mov: Disallow ".." in dref unless use_absolute_path is set

as this kind of allows to circumvent it to some extend.
We also could add a separate parameter or value to choose this

Found-by: ramiro
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 1e4d0498df6621143da1a550006ddc3526ad51cb)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mov.c