[issue16038] ftplib: unlimited readline() from connection

Antoine Pitrou report at bugs.python.org
Thu Feb 7 20:53:36 CET 2013


Antoine Pitrou added the comment:

> I suggest that we use twice the size of the largest limit (8192) for
> the DoS fix and reduce it to 2048 for Python 3.4. 8192 is still a
> small number for modern computers.

Why do you want to reduce it? It doesn't bring any additional security.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16038>
_______________________________________


More information about the Python-bugs-list mailing list