[ mailman-Patches-938301 ] Fix for bug 740457

Patches item #938301, was opened at 2004-04-19 19:37 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=300103&aid=938301&...
Category: mail delivery Group: Mailman 2.1 Status: Open Resolution: None Priority: 5 Submitted By: David J. Mellor (djmellor) Assigned to: Nobody/Anonymous (nobody) Summary: Fix for bug 740457
Initial Comment: The code in ArchRunner that attempts to extract a date from a message's Date header invokes email.Utils.mktime_tz, which in turn invokes Python's time.mktime builtin. This builtin can throw either an OverflowError or a ValueError exception if the date cannot be converted. For example, the implementation of mktime in glibc on Linux always returns -1 for dates before the epoch, and on Linux an OverflowError exception will be generatedin this case. The code in ArchRunner was only handling ValueError exceptions, with the result that messages whose dates were invalid would be shunted on Linux instead of appearing in the archive. The fix is simply to make the code in ArchRunner handle both error conditions.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=300103&aid=938301&...
participants (1)
-
SourceForge.net