Skip to content

design flaw: using a struct as an interface and @fieldParentPtr can lead to bad pointer dereference #591

Description

@andrewrk

Reported here: scurest/zimodre@8df208d#commitcomment-25444745

Any struct that uses @fieldParentPtr on an "interface" field relies on the API user not making a copy of the interface field.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    use caseDescribes a real use case that is difficult or impossible, but does not propose a solution.

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions