CVSROOT:        /cvs
Module name:    src
Changes by:     guent...@cvs.openbsd.org        2015/02/12 16:01:58

Modified files:
        bin/pax        : pat_rep.c 

Log message:
For tar without -P, if a path in the archive has any ".." components then
strip everything up to and including the last of them (if it ends in ".."
then it becomes ".")
This mostly follows GNU tar's behavior, except for 'tar tf' and 'tar xvf'
we report the modified path that was actually created instead of the raw
path from the archive

ok w/tweak millert@, deraadt@

Reply via email to