diff options
| author | Ian Lance Taylor <iant@golang.org> | 2019-03-01 12:31:18 -0800 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2019-03-05 01:01:11 +0000 |
| commit | 294edb272d5d145665bdf8b4254609eae0363a8d (patch) | |
| tree | 42063a38e44ef74135b13df1c2650249f6505b72 /src/runtime | |
| parent | 6b04550820ac70283d856ceb8cb84d3883862c72 (diff) | |
| download | go-294edb272d5d145665bdf8b4254609eae0363a8d.tar.xz | |
path/filepath: don't discard .. in EvalSymlinks
EvalSymlinks was mishandling cases like "/x/../../y" or "../../../x"
where there is an extra ".." that goes past the start of the path.
Fixes #30520
Change-Id: I07525575f83009032fa1a99aa270c8d42007d276
Reviewed-on: https://go-review.googlesource.com/c/go/+/164762
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Diffstat (limited to 'src/runtime')
0 files changed, 0 insertions, 0 deletions
