[issue7309] crasher in str(Exception())

Eric Smith report at bugs.python.org
Sat Nov 14 19:45:33 CET 2009


Eric Smith <eric at trueblade.com> added the comment:

The patch that is (hopefully) attached is a first, incomplete cut just
for demonstration purposes. I still need to cover all of the cases where
PyString_AS_STRING are called without type checking. Also, as Ezio
points out, start and end are used to index an array without type
checking. I'll fix that as well.

The patch is against trunk.

----------
keywords: +patch
Added file: http://bugs.python.org/file15331/issue7309.patch

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


More information about the Python-bugs-list mailing list