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

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