Richard Hansen <rhan...@bbn.com> added the comment:

Attaching a patch for an issue discovered while looking at the code:
  * The UTF-16 decode logic in the Unicode escape encoders no longer reads past 
the end of the provided Py_UNICODE buffer if the last character's value is 
between 0xD800 and 0xDC00.

This patch is meant to be applied after unicode_escape_1_minimal.patch.

----------
Added file: 
http://bugs.python.org/file15811/unicode_escape_2_utf-16_invalid_read.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7615>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to