Skip to content

C# / Java "use after free" #55

@jadamcrain

Description

@jadamcrain

Classes that have public close or Dispose methods, i.e. manual_destroy(), allow the class to be used after is is freed.

The cost of synchronizing access to all public methods and the release method would be pretty low. They could throw an exception if already freed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgen-dotnet.NET generator issuegen-javaJava generator issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions