[New-bugs-announce] [issue4464] PyList_GetItem() result and parameters not fully validated

Brian Szuter report at bugs.python.org
Sat Nov 29 18:06:35 CET 2008


New submission from Brian Szuter <Brian.Szuter at gmail.com>:

Python-2.5.2/Python/codecs.c(_PyCodec_Lookup)
Lines 106, 144

PyString_Check() is not called on the result of PyList_GetItem() and the
first parameter of PyList_GetItem() does not have PyList_Check() called
on it.
(See Python-2.5.2/Python/traceback.c(tb_displayline) for a correct
instance of the pattern)

----------
components: None
messages: 76605
nosy: CWRU_Researcher1
severity: normal
status: open
title: PyList_GetItem() result and parameters not fully validated
type: performance
versions: Python 2.5.3

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


More information about the New-bugs-announce mailing list