[issue38942] Possible assertion failures in csv.Dialect()

Zackery Spytz report at bugs.python.org
Fri Nov 29 15:20:49 EST 2019


New submission from Zackery Spytz <zspytz at gmail.com>:

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.

----------
components: Extension Modules
messages: 357652
nosy: ZackerySpytz
priority: normal
severity: normal
status: open
title: Possible assertion failures in csv.Dialect()
type: crash
versions: Python 3.7, Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38942>
_______________________________________


More information about the Python-bugs-list mailing list