aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/debug
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2023-04-18 14:48:36 -0700
committerGopher Robot <gobot@golang.org>2023-04-19 00:29:39 +0000
commit7e66a8ad400792bcf8049313a3142496ce5fd9a9 (patch)
tree2e59956200e1b1889500c377e5b343ee9d145d37 /src/runtime/debug
parent6a5f35047f8c69301bc05ee4359bb20bd71dcad9 (diff)
downloadgo-7e66a8ad400792bcf8049313a3142496ce5fd9a9.tar.xz
net: check for NUL bytes in strings passed to C functions
Use syscall.BytePtrFromString and syscall.ByteSliceFromString. Change-Id: I9409ecd93aaca82390bf3f34be56ec354148a241 Reviewed-on: https://go-review.googlesource.com/c/go/+/486015 Run-TryBot: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Damien Neil <dneil@google.com> Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/runtime/debug')
0 files changed, 0 insertions, 0 deletions