]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.18] path/filepath: do not remove prefix "." when following path...
authorYasuhiro Matsumoto <mattn.jp@gmail.com>
Fri, 22 Apr 2022 01:07:51 +0000 (10:07 +0900)
committerDmitri Shuralyov <dmitshur@golang.org>
Tue, 31 May 2022 17:30:10 +0000 (17:30 +0000)
commit5a89bb334d1280b0219108a8ee63c14dd04aa8fd
tree207be6e35c3d98c6d5f69b32e939d247d24c709e
parentda608a20ed87b7c6c860eaaf4f2dec39492f9da4
[release-branch.go1.18] path/filepath: do not remove prefix "." when following path contains ":".

For #52476
Fixes #52479
Fixes CVE-2022-29804

Change-Id: I9eb72ac7dbccd6322d060291f31831dc389eb9bb
Reviewed-on: https://go-review.googlesource.com/c/go/+/401595
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-on: https://go-review.googlesource.com/c/go/+/405234
Reviewed-by: Yasuhiro Matsumoto <mattn.jp@gmail.com>
src/path/filepath/path.go
src/path/filepath/path_test.go
src/path/filepath/path_windows_test.go