[New-bugs-announce] [issue12465] gc.get_referents can be used to crash Python
Evgeny Kapun
report at bugs.python.org
Fri Jul 1 14:43:55 CEST 2011
New submission from Evgeny Kapun <abacabadabacaba at gmail.com>:
This code crashes Python:
import gc
gc.get_referents(object.__dict__)[0].clear()
gc.get_referents(type.__dict__)[0].clear()
type("A", (), {})()
----------
components: Interpreter Core
messages: 139572
nosy: abacabadabacaba
priority: normal
severity: normal
status: open
title: gc.get_referents can be used to crash Python
type: crash
versions: Python 2.7, Python 3.3
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12465>
_______________________________________
More information about the New-bugs-announce
mailing list