]> Cypherpunks repositories - gostls13.git/commit
internal/routebsd: fix parsing network address of length zero
authorIan Lance Taylor <iant@golang.org>
Tue, 4 Feb 2025 23:11:42 +0000 (15:11 -0800)
committerGopher Robot <gobot@golang.org>
Wed, 5 Feb 2025 17:18:29 +0000 (09:18 -0800)
commitf6ea0621d2e7e7386d7f58241fb34bc78e39ebcc
tree4d55ca7fdfaae59634f7097ca49b128eadce8762
parentb7c9cdd53cb39934f74b1cdbe08ad1f9e4a12e78
internal/routebsd: fix parsing network address of length zero

This applies CL 646555 from the net repository to this copy.

For #70528

Change-Id: Ib7e23accfa3f278392e7bdca6f8544b8f1395e7e
Reviewed-on: https://go-review.googlesource.com/c/go/+/646676
Reviewed-by: Damien Neil <dneil@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
TryBot-Bypass: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/internal/routebsd/address.go
src/internal/routebsd/address_darwin_test.go