aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Queue/ArchRunner.py
diff options
context:
space:
mode:
authortkikuchi <>2006-02-03 07:04:32 +0000
committertkikuchi <>2006-02-03 07:04:32 +0000
commit85115197962c27c9ebcb40e20696e0be28726caa (patch)
tree847c99f3e0c96b2d66d63fd7163541abafe21a10 /Mailman/Queue/ArchRunner.py
parentb0389235bc9c1310ab76460b3b0cd5ed5f096385 (diff)
downloadmailman2-85115197962c27c9ebcb40e20696e0be28726caa.tar.gz
mailman2-85115197962c27c9ebcb40e20696e0be28726caa.tar.xz
mailman2-85115197962c27c9ebcb40e20696e0be28726caa.zip
add OverflowError in exceptions. (CVE-2005-4153 related but not DoS)
Diffstat (limited to 'Mailman/Queue/ArchRunner.py')
-rw-r--r--Mailman/Queue/ArchRunner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Queue/ArchRunner.py b/Mailman/Queue/ArchRunner.py
index 0abb1d1b..62714537 100644
--- a/Mailman/Queue/ArchRunner.py
+++ b/Mailman/Queue/ArchRunner.py
@@ -49,7 +49,7 @@ class ArchRunner(Runner):
elif abs(now - mktime_tz(tup)) > \
mm_cfg.ARCHIVER_ALLOWABLE_SANE_DATE_SKEW:
clobber = 1
- except ValueError:
+ except (ValueError, OverflowError):
# 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