Skip to content

bpo-36398: Fix a possible crash in structseq_repr()#12492

Merged
serhiy-storchaka merged 1 commit intopython:masterfrom
ZackerySpytz:bpo-36398-possible-crash-structseq_repr
Mar 22, 2019
Merged

bpo-36398: Fix a possible crash in structseq_repr()#12492
serhiy-storchaka merged 1 commit intopython:masterfrom
ZackerySpytz:bpo-36398-possible-crash-structseq_repr

Conversation

@ZackerySpytz
Copy link
Copy Markdown
Contributor

@ZackerySpytz ZackerySpytz commented Mar 22, 2019

If the first PyUnicode_DecodeUTF8() call fails in structseq_repr(),
_PyUnicodeWriter_Dealloc() will be called on an uninitialized
_PyUnicodeWriter.

https://bugs.python.org/issue36398

If the first PyUnicode_DecodeUTF8() call fails in structseq_repr(),
_PyUnicodeWriter_Dealloc() will be called on an uninitialized
_PyUnicodeWriter.
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.

4 participants