/[smecontribs]/rpms/mailman/contribs7/mailman-2.1-CVE-2006-0052.patch
ViewVC logotype

Contents of /rpms/mailman/contribs7/mailman-2.1-CVE-2006-0052.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Mon Apr 21 00:12:42 2008 UTC (16 years, 7 months ago) by slords
Branch: MAIN
CVS Tags: mailman-2_1_5_1-34_rhel4_6_el4_sme
Initial import of mailman-2.1.5.1-34.rhel4.6.el4.sme.src.rpm

1 --- mailman-2.1.5.1.new/Mailman/Handlers/Scrubber.py 2006-03-02 14:58:34.000000000 +0100
2 +++ mailman-2.1.5.1/Mailman/Handlers/Scrubber.py 2006-05-09 12:56:06.000000000 +0200
3 @@ -256,8 +256,10 @@
4 # If the message isn't a multipart, then we'll strip it out as an
5 # attachment that would have to be separately downloaded. Pipermail
6 # will transform the url into a hyperlink.
7 - elif not part.is_multipart():
8 + elif part and not part.is_multipart():
9 payload = part.get_payload(decode=True)
10 + if payload is None:
11 + continue
12 ctype = part.get_type()
13 size = len(payload)
14 omask = os.umask(002)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed