Skip to content

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

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

Merged
merged 1 commit into from
Apr 19, 2022

Conversation

oremanj
Copy link
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