-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
I had similar things with some cgo code I wrote:
$ go vet ./...
# go.riyazali.net/sqlite
./func.go:143:39: possible misuse of reflect.SliceHeader
./stmt.go:409:40: possible misuse of reflect.SliceHeader
./virtual_table.go:496:44: possible misuse of reflect.SliceHeader
./virtual_table.go:533:70: possible misuse of reflect.SliceHeader
./virtual_table.go:546:67: possible misuse of reflect.SliceHeader
./virtual_table.go:574:75: possible misuse of reflect.SliceHeader
./virtual_table.go:868:38: possible misuse of reflect.SliceHeader
I think there's a risk the GC runs at the wrong time and you get segfaults.
Metadata
Metadata
Assignees
Labels
No labels