Title: A possible crash in structseq.c's structseq_repr()
Type: crash Stage: patch review
Components: Interpreter Core Versions: Python 3.8
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: ZackerySpytz, serhiy.storchaka
Priority: normal Keywords: patch

Created on 2019-03-22 04:18 by ZackerySpytz, last changed 2019-03-22 07:24 by serhiy.storchaka.

Pull Requests
URL Status Linked Edit
PR 12492 merged ZackerySpytz, 2019-03-22 04:21
Messages (2)
msg338584 - (view) Author: Zackery Spytz (ZackerySpytz) * (Python triager) Date: 2019-03-22 04:18
If the first PyUnicode_DecodeUTF8() call fails in structseq_repr(), _PyUnicodeWriter_Dealloc() will be called on an uninitialized _PyUnicodeWriter.
msg338586 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2019-03-22 07:24
New changeset 93e8012f2cabd84f30b52e19fd3dc557efa9f8af by Serhiy Storchaka (Zackery Spytz) in branch 'master':
bpo-36398: Fix a possible crash in structseq_repr(). (GH-12492)
Date User Action Args
2019-03-22 07:24:38serhiy.storchakasetnosy: + serhiy.storchaka
messages: + msg338586
2019-03-22 04:21:43ZackerySpytzsetkeywords: + patch
stage: patch review
pull_requests: + pull_request12445
2019-03-22 04:18:26ZackerySpytzcreate