[issue3661] sys.call_tracing segfaults

Christian Heimes report at bugs.python.org
Sun Aug 24 21:58:20 CEST 2008


Christian Heimes <lists at cheimes.de> added the comment:

The function call fails much earlier in debug builds. sys_call_tracing()
doesn't check the type of the second argument. It must be a tuple
because it's directly passed to the PyObject_Call() API.

Suggestion: Add an explicit type check for PyTupleType the
sys_call_tracing() function

Check 2.6, too

----------
nosy: +christian.heimes
priority:  -> release blocker
versions: +Python 2.6

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


More information about the Python-bugs-list mailing list