]> Cypherpunks repositories - gostls13.git/commit
syscall: avoid "just past the end" pointers in UnixRights
authorMatthew Dempsky <mdempsky@google.com>
Thu, 17 Oct 2019 01:02:35 +0000 (18:02 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Thu, 17 Oct 2019 18:42:47 +0000 (18:42 +0000)
commitef18d6a929438babb59056aef0e485ca65ff8c25
tree94e5ea22ed2508b4ff804e47fbf0c3295b079e19
parent3972f97d049edde37936d8b675e3600d10705dbc
syscall: avoid "just past the end" pointers in UnixRights

Caught with -d=checkptr.

Updates #22218.

Change-Id: Ic0fcff4d2c8d83e4e7f5e0c6d01f03c9c7766c6d
Reviewed-on: https://go-review.googlesource.com/c/go/+/201617
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/syscall/sockcmsg_linux.go
src/syscall/sockcmsg_unix.go