Skip to content

Conversation

@shadchin
Copy link

My program crashed if Py_DEBUG is enabled.

This is because Py_XDECREF(bytesstr) in Py_DEBUG mode: dealloceted memory and fills it with 0xDD (DEADBYTE)
As a consequence str indicates garbage -> segfault

Base automatically changed from master to main January 14, 2021 18:12
@shadchin
Copy link
Author

@seveas Can you watch this PR?

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.

1 participant