containerd/archive
Derek McGowan afec478beb Update tar path resolution
Fixes bug for resolving symlinks which allowed fully resolving
an existing symlink to a path, causing some symlinks to get
overridden as symlinks to self.
Updates logic to split name into parent path, resolve the parent
path, then safely join back with the base name.
Uses the split code to ensure parent directories are created in
all cases.
Replaces `rootJoin` with filepath.Join to the root, which already
correctly cleans relative symlinks to the root.

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-07-24 17:51:47 -07:00
..
compression archive,cmd,images: clean up some code 2017-03-30 11:41:22 +03:00
path_test.go Add AppVeyor configuration 2017-07-21 18:19:51 +02:00
path.go Update tar path resolution 2017-07-24 17:51:47 -07:00
tar_test.go Update tar path resolution 2017-07-24 17:51:47 -07:00
tar_unix.go Use forked archive/tar package 2017-07-18 18:32:44 -07:00
tar_windows.go Use forked archive/tar package 2017-07-18 18:32:44 -07:00
tar.go Update tar path resolution 2017-07-24 17:51:47 -07:00
time_darwin.go Partial port to Darwin and FreeBSD 2017-05-04 18:11:53 +01:00
time_unix.go Partial port to Darwin and FreeBSD 2017-05-04 18:11:53 +01:00
time_windows.go Add archive package 2017-02-17 11:49:58 -08:00
time.go Add archive package 2017-02-17 11:49:58 -08:00