[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[minion-cvs] Fix crash when malformed protocol string arrives.
Update of /home/minion/cvsroot/src/minion/lib/mixminion/server
In directory moria:/tmp/cvs-serv17502/lib/mixminion/server
Modified Files:
MMTPServer.py
Log Message:
Fix crash when malformed protocol string arrives.
Index: MMTPServer.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/server/MMTPServer.py,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -d -r1.89 -r1.90
--- MMTPServer.py 10 Aug 2005 19:38:59 -0000 1.89
+++ MMTPServer.py 4 Nov 2005 06:23:07 -0000 1.90
@@ -384,6 +384,7 @@
LOG.warn("Bad MMTP protocol string format from %s", self.address)
#failed
self.startShutdown()
+ return
protocols = m.group(1).split(",")
for p in self.PROTOCOL_VERSIONS: