Re: [Mailman-Announce] Critical security update for Mailman 2.1.5 and earlier

Feb. 14, 2005
3:46 p.m.
On Thu, 10 Feb 2005, Axel Beckert wrote:
Am Thu, Feb 10, 2005 at 09:41:05AM -0500, Barry Warsaw schrieb:
Until Mailman 2.1.6 is released, the longer term fix is to apply this patch:
Which unfortunately only works with Python 2. Python 1 (respective at least 1.5.2) complains about syntax errors. (Which, in fact, also helps against the vulnerability by displaying the "You've found a Mailman bug" page. ;-)
Is there any patch which complies with Python 1 syntax?
not as a patch, cause I haven't got a CVS repository available but you can change the line
safe = [x for x in parts if x not in ('.', '..')]
which is list comprehension syntax into:
safe = []
for x in parts:
if x not in ('.', '..'):
safe.append(x)
which does obviously the same: Append to safe every x in parts which are not "." or ".."
regards Michael
7346
Age (days ago)
7346
Last active (days ago)
0 comments
1 participants
participants (1)
-
Michael Janssen