[issue8530] Stringlib fastsearch can read beyond the front of an array

Alex report at bugs.python.org
Sun Apr 25 23:14:29 CEST 2010


Alex <alex.gaynor at gmail.com> added the comment:

Well, the fact that it hasn't been shown to fail doesn't mean it can't fail.  It relies on reading undefined memory, which is usually bad ;).  However, since we're at i=0, regardless of what we add to the value it's going to end up terminating the loop, so I'm not sure if it can actually break in practice.

----------

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


More information about the Python-bugs-list mailing list