Skip to content

Check parameters in callback registration in wrapping code #1

@russell-taylor

Description

@russell-taylor

If you pass a class member function as the callback handler, it adds an implicit "self" parameter before the userData parameter. This causes a seg fault, either during the instantiation or, more likely, during the call chain.

This is a challenging bug to chase down for the client. We should check for valid parameters and not crash.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions