[issue18135] _ssl module: possible integer overflow for very long strings (+2^31 bytes)
Antoine Pitrou
report at bugs.python.org
Sun Jun 23 15:31:25 CEST 2013
Antoine Pitrou added the comment:
I'm sorry to chime in a bit late, but I think this isn't the correct solution. Right now partial writes are not possible on a SSL socket, but this commit makes them possible. See http://bugs.python.org/issue8240 and http://bugs.python.org/issue12197 for some background.
I think the right solution here would be to raise OverflowError, not truncate the output.
----------
status: closed -> open
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18135>
_______________________________________
More information about the Python-bugs-list
mailing list