classification
Title: Possible assertion failures in csv.Dialect()
Type: crash Stage: patch review
Components: Extension Modules Versions: Python 3.9, Python 3.8, Python 3.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: ZackerySpytz
Priority: normal Keywords: patch

Created on 2019-11-29 20:20 by ZackerySpytz, last changed 2019-11-29 20:23 by ZackerySpytz.

Pull Requests
URL Status Linked Edit
PR 17415 open ZackerySpytz, 2019-11-29 20:23
Messages (1)
msg357652 - (view) Author: Zackery Spytz (ZackerySpytz) * (Python triager) Date: 2019-11-29 20:20
dialect_new() in Modules/_csv.c calls PyObject_GetAttrString() repeatedly without
checking if an error occurred. If an exception (like MemoryError) is raised during one of the
PyObject_GetAttrString() calls, an assertion failure will occur during the next call.
History
Date User Action Args
2019-11-29 20:23:20ZackerySpytzsetkeywords: + patch
stage: patch review
pull_requests: + pull_request16897
2019-11-29 20:20:49ZackerySpytzcreate