Skip to content

Check whether payload is NULL before accessing it in __str__#89

Merged
oremanj merged 1 commit intomasterfrom
fix-str-segfault
Apr 19, 2022
Merged

Check whether payload is NULL before accessing it in __str__#89
oremanj merged 1 commit intomasterfrom
fix-str-segfault

Conversation

@oremanj
Copy link
Copy Markdown
Owner

@oremanj oremanj commented Apr 19, 2022

Use the retained payload if it's available, and return a less-descriptive string if not. Fixes #83.

@oremanj oremanj merged commit 0bb948d into master Apr 19, 2022
@oremanj oremanj deleted the fix-str-segfault branch April 19, 2022 15:07
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.

__str__ method is not safe

1 participant