]> Cypherpunks repositories - gostls13.git/commit
cmd/cgo: throw if C.malloc returns NULL in C.CString or C.CBytes
authorTobias Klauser <tklauser@distanz.ch>
Sun, 11 Apr 2021 12:49:38 +0000 (14:49 +0200)
committerTobias Klauser <tobias.klauser@gmail.com>
Mon, 12 Apr 2021 05:12:42 +0000 (05:12 +0000)
commit16cd770e0668a410a511680b2ac1412e554bd27b
treef082ea9d82efbedfd2fefae40b9170012657c1f7
parent954bd8203bfe3033b9794ad4ec2c82cfd6be1414
cmd/cgo: throw if C.malloc returns NULL in C.CString or C.CBytes

Change-Id: Iea07b7f3e64f5938cfb1cd1c07bdce4adf8e4470
Reviewed-on: https://go-review.googlesource.com/c/go/+/308992
Trust: Tobias Klauser <tobias.klauser@gmail.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/cgo/out.go