breaks go 1.6 cgo pointer rules

Bug #1534416 reported by Michael Hudson-Doyle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-push (Ubuntu)
New
Undecided
Unassigned

Bug Description

Go 1.6 tightens the rules on what can be passed from Go to C via cgo:

http://tip.golang.org/cmd/cgo/#hdr-Passing_pointers

A few ubuntu-push tests trip over these, due to two calls in the code base that violate the "pointer to Go data that contains Go pointer" rules:

http://bazaar.launchpad.net/~ubuntu-push-hackers/ubuntu-push/trunk/view/head:/messaging/cmessaging/cmessaging.go#L88
http://bazaar.launchpad.net/~ubuntu-push-hackers/ubuntu-push/trunk/view/head:/launch_helper/cual/cual.go#L67

affects: ubuntu-push → ubuntu-push (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.