[issue36412] A possible crash in dictobject.c's new_dict()

Zackery Spytz report at bugs.python.org
Sat Mar 23 21:49:34 EDT 2019


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

PyDict_New() calls new_dict() with the "empty_values" array. If the PyObject_GC_New() call in new_dict() fails, new_dict() will call PyMem_FREE() on this array, causing a crash.

----------
components: Interpreter Core
messages: 338711
nosy: ZackerySpytz
priority: normal
severity: normal
status: open
title: A possible crash in dictobject.c's new_dict()
type: crash
versions: Python 3.8

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


More information about the Python-bugs-list mailing list