--- mailman-2.1.5.1/Mailman/Queue/ArchRunner.py.CVE-2005-3573 2003-12-01 02:50:40.000000000 +0100 +++ mailman-2.1.5.1/Mailman/Queue/ArchRunner.py 2006-03-02 14:50:40.000000000 +0100 @@ -49,7 +49,7 @@ elif abs(now - mktime_tz(tup)) > \ mm_cfg.ARCHIVER_ALLOWABLE_SANE_DATE_SKEW: clobber = 1 - except ValueError: + except (OverflowError, ValueError): # The likely cause of this is that the year in the Date: field # is horribly incorrect, e.g. (from SF bug # 571634): # Date: Tue, 18 Jun 0102 05:12:09 +0500 --- mailman-2.1.5.1/Mailman/Handlers/Scrubber.py.CVE-2005-3573 2003-12-01 02:43:18.000000000 +0100 +++ mailman-2.1.5.1/Mailman/Handlers/Scrubber.py 2006-03-02 14:50:40.000000000 +0100 @@ -113,7 +113,7 @@ def safe_strftime(fmt, floatsecs): try: return time.strftime(fmt, floatsecs) - except (TypeError, ValueError): + except (OverflowError, TypeError, ValueError): return None @@ -142,7 +142,7 @@ }.get(parts[3], 0) day = int(parts[4]) year = int(parts[6]) - except (IndexError, ValueError): + except (OverflowError, IndexError, ValueError): # Best we can do I think month = day = year = 0 datedir = '%04d%02d%02d' % (year, month, day) --- mailman-2.1.5.1/misc/Makefile.in.CVE-2005-3573 2004-05-14 05:34:34.000000000 +0200 +++ mailman-2.1.5.1/misc/Makefile.in 2006-03-02 14:53:59.000000000 +0100 @@ -89,7 +89,7 @@ install-packages: for p in $(PACKAGES); \ do \ - gunzip -c $(srcdir)/$$p.tar.gz | (cd $(PKGDIR) ; tar xf -); \ + test -d $(PKGDIR)/$$p || gunzip -c $(srcdir)/$$p.tar.gz | (cd $(PKGDIR) ; tar xf -); \ (cd $(PKGDIR)/$$p ; umask 02 ; PYTHONPATH=$(PYTHONLIBDIR) $(PYTHON) $(SETUPCMD)); \ done