[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:
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
assignee: -> gvanrossum
resolution: -> accepted
status: open -> closed
Tracker <report at bugs.python.org>
More information about the Python-bugs-list