diff options
| author | rhysd <lin90162@yahoo.co.jp> | 2024-07-17 11:44:35 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2024-07-22 21:51:21 +0000 |
| commit | b8f83e22703ee23d49d95154449ce7066402d5c9 (patch) | |
| tree | 8ab0ccedc601cfa45cb2a4ddfd54cfc163c6e74e /src/encoding/binary/binary_test.go | |
| parent | c4a595cf294558579ab6342f1628ad37a7a4221c (diff) | |
| download | go-b8f83e22703ee23d49d95154449ce7066402d5c9.tar.xz | |
os: check relative paths in UserConfigDir and UserCacheDir
Return errors by UserConfigDir and UserCacheDir when XDG environment
variables contain relative paths.
Fixes #68470
Change-Id: Ib36b56d73b066e002023be55ecfe74d5c0eedb15
GitHub-Last-Rev: c03f371a042c475a6f3f2259b06b140ade511404
GitHub-Pull-Request: golang/go#68471
Reviewed-on: https://go-review.googlesource.com/c/go/+/598655
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/encoding/binary/binary_test.go')
0 files changed, 0 insertions, 0 deletions
