mirror of
https://github.com/tailscale/tailscale.git
synced 2025-03-20 21:21:36 +00:00

Starting at yesterday's e96f22e5600702 (convering some UDPAddrs to IPPorts), Conn.ReceiveIPv4 could return a nil addr, which would make its way through wireguard-go and blow up later. The DERP read path wasn't initializing the addr result parameter any more, and wgRecvAddr wasn't checking it either. Fixes #515