[issue27945] Various segfaults with dict

Tim Mitchell report at bugs.python.org
Mon Sep 12 00:46:43 EDT 2016


Tim Mitchell added the comment:

Here is my patch for parts 3 and 4.
Core issue for part 4 appears to be dk_lookup calling arbitrary python code may free the key.
dk_lookup is also used in _PyDict_LoadGlobal not sure if this bug can occur here.

----------
nosy: +Tim Mitchell
Added file: http://bugs.python.org/file44587/0001-Issue-27945-Fixed-segfaults-in-dict.fromkeys-when-it.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27945>
_______________________________________


More information about the Python-bugs-list mailing list