[issue1745035] DoS smtpd vulnerability

Josiah Carlson report at bugs.python.org
Mon Sep 29 22:53:43 CEST 2008


Josiah Carlson <josiahcarlson at users.sourceforge.net> added the comment:

The patch does not work as Giampaolo intends.  If the patch were applied 
as-is, no emails longer than 998 bytes could be sent.

Instead, incrementing linelen in the collect_incoming_data() method 
should only be performed if self.terminator == '\r\n'.

I can apply a modified version of this patch against trunk after 2.6 is 
released.  Backports to 2.5 and 2.6 should then be discussed.

----------
assignee: barry -> josiahcarlson
nosy: +josiahcarlson

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


More information about the Python-bugs-list mailing list