]> Cypherpunks repositories - gostls13.git/commit
syscall: check if to is nil to prevent panic from Sendto
authorAndy Pan <panjf2000@gmail.com>
Sun, 25 Sep 2022 05:14:24 +0000 (13:14 +0800)
committerGopher Robot <gobot@golang.org>
Mon, 26 Sep 2022 14:30:17 +0000 (14:30 +0000)
commit5036ed26bd241cb8eadf4d0f00de6b9d3449bf87
treeededc56d344b3147f7d87196abc725a60c81d96b
parent1e91ffc897efb1ed298753c08f086fbc8f725025
syscall: check if to is nil to prevent panic from Sendto

Fixes #55845

Change-Id: If30263b7d34829c40e6606846115ec520f351f2c
Reviewed-on: https://go-review.googlesource.com/c/go/+/433504
Run-TryBot: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Andy Pan <panjf2000@gmail.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/syscall/syscall_unix.go