[issue1359] py3k: out of bounds read in PyUnicode_DecodeUnicodeEscape

Guido van Rossum report at bugs.python.org
Mon Oct 29 22:45:50 CET 2007


Guido van Rossum added the comment:

Thanks!!

The patch as given doesn't quite work -- it gives an error message on
string literals like '\s'.  By reverting some of your code and only
keeping the bounds checks for the octal escape code I got it to work
though.  See my checkin.

Committed revision 58707.

This needs to be backported too; it seems a pure coincidence it didn't
trigger before!

----------
assignee:  -> gvanrossum
resolution:  -> accepted
status: open -> closed

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1359>
__________________________________


More information about the Python-bugs-list mailing list