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

2019-03-23 Thread Inada Naoki
Inada Naoki added the comment: Thank you, nice catch! How did you find it? -- ___ Python tracker ___ ___ Python-bugs-list mailing l

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

2019-03-23 Thread Inada Naoki
Inada Naoki added the comment: New changeset 3d07c1ee1d2d475b74816117981d6ec752c26c23 by Inada Naoki (Zackery Spytz) in branch 'master': bpo-36412: fix a possible crash in dictobject.c's new_dict() (GH-12519) https://github.com/python/cpython/commit/3d07c1ee1d2d475b74816117981d6ec752c26c23

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

2019-03-23 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

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

2019-03-23 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +12470 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

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

2019-03-23 Thread Zackery Spytz
New submission from Zackery Spytz : 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 pri