aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/debug
diff options
context:
space:
mode:
authorBryan C. Mills <bcmills@google.com>2022-11-22 13:45:12 -0500
committerGopher Robot <gobot@golang.org>2023-01-26 23:30:15 +0000
commit8e0781e5ff0320d8a0cb04dded9aa0ff8f3849cd (patch)
tree874fdf738174e9093215474eb43c9cb5b849db65 /src/runtime/debug
parent6f6276ce366f0f9cd9748d9c910310e0bc7dc8e5 (diff)
downloadgo-8e0781e5ff0320d8a0cb04dded9aa0ff8f3849cd.tar.xz
cmd/dist: require absolute path to executable in flattenCommandLine
This should help to prevent bugs from unintended use of system tools, especially the system or bootstrap "go" command. (Suggested by Austin on CL 452678.) Updates #31567. Change-Id: I71809ee30d06eda4b5ff8f90656d4f1a462d35dd Reviewed-on: https://go-review.googlesource.com/c/go/+/452776 Reviewed-by: Austin Clements <austin@google.com> Auto-Submit: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Bryan Mills <bcmills@google.com>
Diffstat (limited to 'src/runtime/debug')
0 files changed, 0 insertions, 0 deletions