Skip to content

Object generation info #26

@bluesillybeard

Description

@bluesillybeard

Object generation info

Currently, Pinc will reuse object handles where possible. This may cause use-after-free problems if the user deinits an object, creates a new one, but then tries to do something with the old (destroyed) object.

Reserving some bits out of the handle type for a generation index would help to alleviate this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfrontendrelating to the front-end (as opposed to a back-end)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions