You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The cgo check code in cgoCheckTypedBlock in runtime/cgocheck.go, in the case where kindGCProg is not set, ignores the type's ptrdata field. It assumes that the gcdata field is valid for the entire size of the type. I think this means that in some cases cgoCheckTypedBlock might mistake a non-pointer value for a pointer, potentially triggering an incorrect panic.
The text was updated successfully, but these errors were encountered:
The cgo check code in cgoCheckTypedBlock in runtime/cgocheck.go, in the case where kindGCProg is not set, ignores the type's ptrdata field. It assumes that the gcdata field is valid for the entire size of the type. I think this means that in some cases cgoCheckTypedBlock might mistake a non-pointer value for a pointer, potentially triggering an incorrect panic.
The text was updated successfully, but these errors were encountered: