[issue3720] segfault in for loop with evil iterator

Gregory P. Smith report at bugs.python.org
Tue Jan 13 01:00:25 CET 2009


Gregory P. Smith <greg at krypto.org> added the comment:

Any crash is a potential security problem.

This needs to be fixed in 2.6.x without breaking 2.6.0 extension 
compatibility.  (requiring extensions to be recompiled to fix the 
problem for an extension is fine, but they still need to load and work 
normally even if they have not been)

As trunk r68560 can't be backported?  what will?  Is there an 
appropriate pre-existing hackish substitute for PyObj_NextNotImplemented 
or will it require adding a test anytime the tp_nextiter slot is used?

----------
components: +Interpreter Core
nosy: +gregory.p.smith

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


More information about the Python-bugs-list mailing list