ImageEngine / cortex

Libraries for visual effects software development
Other
531 stars 124 forks source link

CompoundObjectBinding : Fix null dereference #1401

Closed johnhaddon closed 9 months ago

johnhaddon commented 9 months ago

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 commented 9 months ago

LGTM