abf5538bd4
- Bump PORTREVISION for package change Security: CVE-2014-3618 MFH: 2014Q3
16 lines
468 B
C
16 lines
468 B
C
--- src/formisc.c.orig 2001-06-29 10:20:45.000000000 +0800
|
|
+++ src/formisc.c 2014-09-12 00:58:12.989105253 +0800
|
|
@@ -84,12 +84,11 @@
|
|
case '"':*target++=delim='"';start++;
|
|
}
|
|
;{ int i;
|
|
- do
|
|
+ while(*start)
|
|
if((i= *target++= *start++)==delim) /* corresponding delimiter? */
|
|
break;
|
|
else if(i=='\\'&&*start) /* skip quoted character */
|
|
*target++= *start++;
|
|
- while(*start); /* anything? */
|
|
}
|
|
hitspc=2;
|
|
}
|