Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CompoundObjectBinding : Fix null dereference #1401

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

johnhaddon
Copy link
Member

Boost Python will happily accept None as a const char *, and that was getting passed to the InternedString constructor which requires a non-null pointer. By telling Boost Python we want an InternedString in the first place it goes via our registered converter which is smart enough to reject None.

Boost Python will happily accept `None` as a `const char *`, and that was getting passed to the `InternedString` constructor which requires a non-null pointer. By telling Boost Python we want an InternedString in the first place it goes via our registered converter which is smart enough to reject `None`.
@danieldresser-ie
Copy link
Contributor

LGTM

@johnhaddon johnhaddon merged commit d293bc9 into ImageEngine:RB-10.5 Jan 17, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants