Blame SOURCES/procmail-3.22-CVE-2014-3618.patch

54be6b
diff --git a/src/formisc.c b/src/formisc.c
54be6b
index 338733b..c48df52 100644
54be6b
--- a/src/formisc.c
54be6b
+++ b/src/formisc.c
54be6b
@@ -84,12 +84,11 @@ normal:	   *target++= *start++;
54be6b
 	case '"':*target++=delim='"';start++;
54be6b
       }
54be6b
      ;{ int i;
54be6b
-	do
54be6b
+	while(*start)						/* anything? */
54be6b
 	   if((i= *target++= *start++)==delim)	 /* corresponding delimiter? */
54be6b
 	      break;
54be6b
 	   else if(i=='\\'&&*start)		    /* skip quoted character */
54be6b
 	      *target++= *start++;
54be6b
-	while(*start);						/* anything? */
54be6b
       }
54be6b
      hitspc=2;
54be6b
    }