[New-bugs-announce] [issue43033] Incorrect handling of PyObject_SetAttrString() in the _zoneinfo module

Zackery Spytz report at bugs.python.org
Tue Jan 26 18:39:25 EST 2021


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

There is a PyObject_SetAttrString() call in zoneinfo_init_subclass() which
is not checked for failure.  This could lead to serious bugs if an
exception occurs in PyObject_SetAttrString().

----------
components: Extension Modules
messages: 385739
nosy: ZackerySpytz
priority: normal
severity: normal
status: open
title: Incorrect handling of PyObject_SetAttrString() in the _zoneinfo module
versions: Python 3.10, Python 3.9

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


More information about the New-bugs-announce mailing list