diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-09-10 06:48:58 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-09-10 06:49:39 +0000 |
commit | 727f38810c48dea818e1ceb081ae2b2b8ca122f5 (patch) | |
tree | 095cc5ebd89a013c7e7c43a69f1df33b127bcfc6 /main/procmail/CVE-2014-3618.patch | |
parent | a5b8e233b6a0c7de7ab544e741192422b46816bb (diff) | |
download | aports-727f38810c48dea818e1ceb081ae2b2b8ca122f5.tar.bz2 aports-727f38810c48dea818e1ceb081ae2b2b8ca122f5.tar.xz |
main/procmail: security fix (CVE-2014-3618)
ref #3361
Diffstat (limited to 'main/procmail/CVE-2014-3618.patch')
-rw-r--r-- | main/procmail/CVE-2014-3618.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/main/procmail/CVE-2014-3618.patch b/main/procmail/CVE-2014-3618.patch new file mode 100644 index 0000000000..3692acc02d --- /dev/null +++ b/main/procmail/CVE-2014-3618.patch @@ -0,0 +1,16 @@ +--- a/src/formisc.c ++++ b/src/formisc.c +@@ -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; + } |