mirror of
https://github.com/golang/go
synced 2024-11-18 16:24:42 -07:00
27b68474ca
If a C union type (or a C++ class type) can contain a pointer field, then run the cgo checks on pointers to that type. This will test the pointer as though it were an unsafe.Pointer, and will crash if it points to Go memory that contains a pointer. Fixes #15942. Change-Id: Ic2d07ed9648d4b27078ae7683e26196bcbc59fc9 Reviewed-on: https://go-review.googlesource.com/33237 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> |
||
---|---|---|
.. | ||
err1.go | ||
err2.go | ||
err3.go | ||
issue7757.go | ||
issue8442.go | ||
issue11097a.go | ||
issue11097b.go | ||
issue13129.go | ||
issue13423.go | ||
issue13635.go | ||
issue13830.go | ||
issue14669.go | ||
issue16116.go | ||
issue16591.go | ||
malloc.go | ||
ptr.go | ||
test.bash |