[issue7458] crash in str.find() and str.rfind() with invalid start value
STINNER Victor
report at bugs.python.org
Tue Dec 8 12:05:35 CET 2009
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
> This bug does not occur on Debian 64 bits.
It does, sometime :-) Read uninitiliazed memory doesn't always crash.
$ python -c "'ab'.rfind('xxx', (1 << 63) + 10, 0)"
Erreur de segmentation
Note: my 64 bits test in CRASH_rfind.py is wrong, ctypes.c_long should
be used instead of ctypes.c_int.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7458>
_______________________________________
More information about the Python-bugs-list
mailing list