зеркало из https://github.com/github/vitess-gh.git
d18bdd4a0d
The CGO wrapper for ZK was casting arbitrary integers to unsafe.Pointer. For example, it would call C.something(unsafe.Pointer(1)) in order to call "void something(void* tag)" with a tag value of (void*)1. In Go 1.4, if a GC happens to occur while C.something() is executing, it will find the unsafe.Pointer(1) on the stack and crash because 1 is not a valid memory address. |
||
---|---|---|
.. | ||
go/launchpad.net/gozk/zookeeper | ||
py/bson-0.3.2 | ||
zookeeper | ||
acolyte.patch | ||
mysql.patch |