Receiver now rejects invalid filenames in filelist.
authorWayne Davison <wayned@samba.org>
Sun, 13 Apr 2014 17:36:59 +0000 (10:36 -0700)
committerWayne Davison <wayned@samba.org>
Sun, 13 Apr 2014 17:36:59 +0000 (10:36 -0700)
commit4cad402ea8a91031f86c53961d78bb7f4f174790
tree29e436490513b653309b15c802c3cb333e80f4aa
parent306d1127304f680d23d49847929725e549ded985
Receiver now rejects invalid filenames in filelist.

If the receiver gets a filename with a leading slash (w/o --relative)
and/or a filename with an embedded ".." dir in the path, it dies with
an error (rather than continuing). Those invalid paths should never
happen in reality, so just reject someone trying to pull a fast one.
flist.c
rsync.h
util.c