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.
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.