ALT Linux Bugzilla
– Attachment 1275 Details for
Bug 8591
CVE-2005-3573 (DoS): not properly handle UTF8 character encodings in filenames of e-mail attachments
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Патч_2
mailman-2.1.5-date-overflows.patch (text/plain), 1.37 KB, created by
Vladimir Lettiev
on 2005-12-05 14:27:26 MSK
(
hide
)
Description:
Патч_2
Filename:
MIME Type:
Creator:
Vladimir Lettiev
Created:
2005-12-05 14:27:26 MSK
Size:
1.37 KB
patch
obsolete
>--- mailman-2.1.5/Mailman/Queue/ArchRunner.py.date_overflows 2005-11-28 12:24:25.834395006 -0700 >+++ mailman-2.1.5/Mailman/Queue/ArchRunner.py 2005-11-28 12:28:41.161403306 -0700 >@@ -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/Mailman/Handlers/Scrubber.py.date_overflows 2005-11-28 12:26:39.825260152 -0700 >+++ mailman-2.1.5/Mailman/Handlers/Scrubber.py 2005-11-28 12:28:41.161403306 -0700 >@@ -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)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 8591
:
1274
| 1275