aboutsummaryrefslogtreecommitdiff
path: root/src/debug/elf
diff options
context:
space:
mode:
authordatabase64128 <free122448@hotmail.com>2025-08-02 00:42:27 +0800
committerSean Liao <sean@liao.dev>2025-08-27 01:05:25 -0700
commit49a2f3ed871c044eb093b16c09202b7dcd875878 (patch)
tree128a07c0a3527eace99bec1adf0e8cb6347ab643 /src/debug/elf
parentafc51ed007ad814fc11273f39055aeea71172557 (diff)
downloadgo-49a2f3ed871c044eb093b16c09202b7dcd875878.tar.xz
net: allow zero value destination address in WriteMsgUDPAddrPort
The existing address validity checks already cover both connected and non-connected sockets. Pass a nil sockaddr just like WriteMsgUDP, when the address is zero value. TestWriteToUDP is extended to cover the netip APIs. Fixes #74841 Change-Id: I2708e7747e224958198fe7abb3fcd8d59bc5a88a Reviewed-on: https://go-review.googlesource.com/c/go/+/692437 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Sean Liao <sean@liao.dev> Reviewed-by: Damien Neil <dneil@google.com>
Diffstat (limited to 'src/debug/elf')
0 files changed, 0 insertions, 0 deletions