]> Cypherpunks repositories - gostls13.git/commit
cmd/cgo: make sure pointers passed to C escape to heap
authorRuss Cox <rsc@golang.org>
Mon, 8 Jun 2015 02:14:04 +0000 (22:14 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 15 Jun 2015 17:39:53 +0000 (17:39 +0000)
commit2c2770c3d4dea11ce96f63d8fcb40ca5dd230e33
treefdb5f7bd97e61e9da4cc40e8c32329e61f520b70
parenta3b9797baa487224c5d5e1878057ec31e1f0df88
cmd/cgo: make sure pointers passed to C escape to heap

Fixes #10303.

Change-Id: Ia68d3566ba3ebeea6e18e388446bd9b8c431e156
Reviewed-on: https://go-review.googlesource.com/10814
Reviewed-by: Ian Lance Taylor <iant@golang.org>
misc/cgo/test/cgo_test.go
misc/cgo/test/issue10303.go [new file with mode: 0644]
src/cmd/cgo/out.go
src/runtime/cgo.go