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

Attaching a patch for another issue discovered while looking at the code:
  * The Unicode escape encoders now check to make sure that the provided size 
is nonnegative.
  * C API documentation updated to make it clear that size must be nonnegative.

This patch is meant to be applied after 
unicode_escape_2_utf-16_invalid_read.patch.

----------
Added file: 
http://bugs.python.org/file15812/unicode_escape_3_check_size_nonnegative.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