From aa3411e241a201d53a2689766fe419f2756819f3 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 24 Mar 2019 17:22:19 +0000 Subject: gentoo resync : 24.03.2019 --- .../files/procmail-CVE-2014-3618-16844.patch | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 mail-filter/procmail/files/procmail-CVE-2014-3618-16844.patch (limited to 'mail-filter/procmail/files') diff --git a/mail-filter/procmail/files/procmail-CVE-2014-3618-16844.patch b/mail-filter/procmail/files/procmail-CVE-2014-3618-16844.patch new file mode 100644 index 000000000000..4f1714063c9e --- /dev/null +++ b/mail-filter/procmail/files/procmail-CVE-2014-3618-16844.patch @@ -0,0 +1,25 @@ +--- a/src/formisc.c 2019-03-23 19:52:18.450174402 -0400 ++++ b/src/formisc.c 2019-03-23 19:52:47.914351039 -0400 +@@ -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; + } +@@ -104,7 +103,7 @@ + } + /* append to buf */ + void loadbuf(text,len)const char*const text;const size_t len; +-{ if(buffilled+len>buflen) /* buf can't hold the text */ ++{ while(buffilled+len>buflen) /* buf can't hold the text */ + buf=realloc(buf,buflen+=Bsize); + tmemmove(buf+buffilled,text,len);buffilled+=len; + } -- cgit v1.2.3