This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Possible assertion failures in csv.Dialect()
Type: crash Stage: resolved
Components: Extension Modules Versions: Python 3.11, Python 3.10, Python 3.9
process
Status: closed Resolution: duplicate
Dependencies: Superseder: Assertion failure in csv module
View: 44630
Assigned To: Nosy List: ZackerySpytz, iritkatriel
Priority: normal Keywords: patch

Created on 2019-11-29 20:20 by ZackerySpytz, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 17415 closed ZackerySpytz, 2019-11-29 20:23
Messages (2)
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.
msg401636 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2021-09-11 10:40
The patch is missing a unit test.
History
Date User Action Args
2022-04-11 14:59:23adminsetgithub: 83123
2021-09-11 10:44:37iritkatrielsetstatus: open -> closed
superseder: Assertion failure in csv module
resolution: duplicate
stage: test needed -> resolved
2021-09-11 10:40:55iritkatrielsetversions: + Python 3.10, Python 3.11, - Python 3.7, Python 3.8
nosy: + iritkatriel

messages: + msg401636

stage: patch review -> test needed
2019-11-29 20:23:20ZackerySpytzsetkeywords: + patch
stage: patch review
pull_requests: + pull_request16897
2019-11-29 20:20:49ZackerySpytzcreate