|
From: Zooko <zo...@zo...> - 2002-03-17 15:37:45
|
Whoops. The security patch was strict on what a legitimate revision number
looks like. Here's a patch that fixes that.
Regards,
Zooko
---
zooko.com
Security and Distributed Systems Engineering
---
Index: syncmail
===================================================================
RCS file: /cvsroot/mnet/CVSROOT/syncmail,v
retrieving revision 1.17
diff -u -d -r1.17 syncmail
--- syncmail 17 Mar 2002 15:17:03 -0000 1.17
+++ syncmail 17 Mar 2002 15:32:21 -0000
@@ -92,7 +92,7 @@
^L
-REV_RE=re.compile("^[0-9.]+$")
+REV_RE=re.compile("^(NONE|[0-9.]+)$")
def calculate_diff(filespec, contextlines):
try:
file, oldrev, newrev = string.split(filespec, ',')
|