[Python-bugs-list] [ python-Bugs-654362 ] email: huge address lines blow stack

noreply@sourceforge.net noreply@sourceforge.net
Sun, 15 Dec 2002 20:59:03 -0800


Bugs item #654362, was opened at 2002-12-16 15:59
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=654362&group_id=5470

Category: Python Library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Mark Hammond (mhammond)
Assigned to: Barry A. Warsaw (bwarsaw)
Summary: email: huge address lines blow stack

Initial Comment:
The following code will recurse until Python throws an
exception:
"""
import email.Utils
addrlist = ["foo@bar.com"] * 2000
email.Utils.getaddresses(addrlist)
"""

I found a huge address list in my spam archive, which
is how I found the error.  Attaching suggested patch
that avoids recursion.

bugfix candidate I guess?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=654362&group_id=5470