[New-bugs-announce] [issue3327] NULL member in modules_by_index

Kristján Valur Jónsson report at bugs.python.org
Wed Jul 9 15:33:42 CEST 2008


New submission from Kristján Valur Jónsson <kristjan at ccpgames.com>:

In _PyState_AddModule(), a list of (initially) 20 elements is created, 
but there is no guarantee that all elements are initialized.  In 
particular, it appears that element 0 is always NULL.  This is bad 
since this list is accessible through introspection, e.g. by 
gc.get_objects()

----------
components: Interpreter Core
messages: 69469
nosy: krisvale
severity: normal
status: open
title: NULL member in modules_by_index
type: crash
versions: Python 3.0

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


More information about the New-bugs-announce mailing list