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

Alex report at bugs.python.org
Sun Apr 25 20:29:39 CEST 2010


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

Yes, as the comment of the top of the file notes, reading to s[n] (where n == len(s)) is safe because strings are null padded.

----------

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


More information about the Python-bugs-list mailing list