Apply 71_date_overflows.patch
authorMichael Spang <mspang@uwaterloo.ca>
Thu, 13 Sep 2007 00:33:01 +0000 (20:33 -0400)
committerMichael Spang <mspang@uwaterloo.ca>
Thu, 13 Sep 2007 00:33:01 +0000 (20:33 -0400)
Mailman/Handlers/Scrubber.py

index 7cd15e6..7f5e74a 100644 (file)
@@ -143,7 +143,7 @@ def calculate_attachments_dir(mlist, msg, msgdata):
                      }.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)