mirror of
https://github.com/golang/sys.git
synced 2026-02-09 04:06:04 +03:00
Don't panic with "index out of range" on empty string argument. Follows CL 170937 which did the sane for package syscall. Updates golang/go#31277 Change-Id: I4feb796d0d58d3637428ae69997cfa3ec28a6b01 Reviewed-on: https://go-review.googlesource.com/c/sys/+/170957 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
11 KiB
11 KiB