aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/string.go
diff options
context:
space:
mode:
authorGeorge Adams <georgeadams1995@gmail.com>2024-10-08 10:52:54 +0100
committerQuim Muntal <quimmuntal@gmail.com>2024-10-29 15:25:26 +0000
commitb813465c4faeb3054a2689481b0b5f9562b8b077 (patch)
treef6d6223a3b4bda0e63b1495e41061ddde857d1a1 /src/runtime/string.go
parentfdfb3067a8a27a7491c3b0f6eddedbd467495329 (diff)
downloadgo-b813465c4faeb3054a2689481b0b5f9562b8b077.tar.xz
os: check for valid Windows path when creating files
Checks for a valid Windows path by ensuring the path doesn't end with trailing spaces or periods. Fixes #54040. Cq-Include-Trybots: luci.golang.try:gotip-windows-arm64 Change-Id: I266f79963c821f8cc474097d3e57c5645ad996fc Reviewed-on: https://go-review.googlesource.com/c/go/+/618496 Reviewed-by: Quim Muntal <quimmuntal@gmail.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Damien Neil <dneil@google.com> Reviewed-by: Alex Brainman <alex.brainman@gmail.com> Reviewed-by: Carlos Amedee <carlos@golang.org>
Diffstat (limited to 'src/runtime/string.go')
0 files changed, 0 insertions, 0 deletions