/[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.2 - (show annotations) (download)
Sun Nov 23 04:57:52 2008 UTC (16 years ago) by slords
Branch: MAIN
Changes since 1.1: +0 -0 lines
FILE REMOVED
Part of epel

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