------------------------------------------------------------ revno: 1631 fixes bug: https://launchpad.net/bugs/1553888 committer: Mark Sapiro <m...@msapiro.net> branch nick: 2.1 timestamp: Sun 2016-03-06 22:27:49 -0800 message: Fixed CommandRunner shunting a message with a null byte in the body. modified: Mailman/Queue/CommandRunner.py NEWS
-- lp:mailman/2.1 https://code.launchpad.net/~mailman-coders/mailman/2.1 Your team Mailman Checkins is subscribed to branch lp:mailman/2.1. To unsubscribe from this branch go to https://code.launchpad.net/~mailman-coders/mailman/2.1/+edit-subscription
=== modified file 'Mailman/Queue/CommandRunner.py' --- Mailman/Queue/CommandRunner.py 2015-03-01 16:35:02 +0000 +++ Mailman/Queue/CommandRunner.py 2016-03-07 06:27:49 +0000 @@ -134,7 +134,8 @@ handler = sys.modules[modname] # ValueError can be raised if cmd has dots in it. # and KeyError if cmd is otherwise good but ends with a dot. - except (ImportError, ValueError, KeyError): + # and TypeError if cmd has a null byte. + except (ImportError, ValueError, KeyError, TypeError): # If we're on line zero, it was the Subject: header that didn't # contain a command. It's possible there's a Re: prefix (or # localized version thereof) on the Subject: line that's messing === modified file 'NEWS' --- NEWS 2016-02-29 06:28:44 +0000 +++ NEWS 2016-03-07 06:27:49 +0000 @@ -9,6 +9,9 @@ Bug fixes and other patches + - Fixed an issue with CommandRunner shunting a malformed message with a + null byte in the body. (LP: #1553888) + - Don't collapse multipart with a single sub-part inside multipart/signed parts. (LP: #1551075)
_______________________________________________ Mailman-checkins mailing list Mailman-checkins@python.org Unsubscribe: https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org