STINNER Victor added the comment:

> I think the right solution here would be to raise OverflowError, not truncate 
> the output.

Here is a new patch (for Python 3.3) always raising OverflowError if the string 
is longer than INT_MAX bytes.

----------
Added file: http://bugs.python.org/file30676/ssl_overflow.patch

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

Reply via email to