diff options
author | gVisor bot <gvisor-bot@google.com> | 2019-10-14 15:52:22 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-10-14 15:52:22 -0700 |
commit | 35d35ea5d04f71ec14561f585ae8d71676c2b655 (patch) | |
tree | c4c18d9397d46f819aa85c9402af2bc85720590f /runsc | |
parent | 010396545e93ae012a8f9b33c9c542a1c38199a6 (diff) | |
parent | fec0663bb7a8ca8273a8f51480e183ef207d0e2a (diff) |
Merge pull request #997 from dvrkps:patch-1
PiperOrigin-RevId: 274675428
Diffstat (limited to 'runsc')
-rw-r--r-- | runsc/cmd/gofer.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/cmd/gofer.go b/runsc/cmd/gofer.go index fbd579fb8..4c2fb80bf 100644 --- a/runsc/cmd/gofer.go +++ b/runsc/cmd/gofer.go @@ -423,7 +423,7 @@ func resolveSymlinksImpl(root, base, rel string, followCount uint) (string, erro path := filepath.Join(base, name) if !strings.HasPrefix(path, root) { // One cannot '..' their way out of root. - path = root + base = root continue } fi, err := os.Lstat(path) |