diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2017-12-08 20:35:32 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2017-12-08 20:35:32 +0000 |
commit | 61938bff8ebd9877c55ad44634e99f4202ca00e4 (patch) | |
tree | 01d3b6393f6634264692acccaae2e9c6b07af625 | |
parent | Fix version range of mail/procmail (diff) |
Fix CVE-2017-16844
- Bump PORTREVISION for package change
PR: 223777
Submitted by: Jeremy Chadwick <jdc@koitsu.org>, romain
Security: 288f7cee-ced6-11e7-8ae9-0050569f0b83
MFH: 2017Q4
-rw-r--r-- | mail/procmail/Makefile | 2 | ||||
-rw-r--r-- | mail/procmail/files/patch-src-formisc.c | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/mail/procmail/Makefile b/mail/procmail/Makefile index 6eaf051c3f17..4c11d7c793c3 100644 --- a/mail/procmail/Makefile +++ b/mail/procmail/Makefile @@ -3,7 +3,7 @@ PORTNAME= procmail PORTVERSION= 3.22 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= mail MASTER_SITES= ftp://ftp.ucsb.edu/pub/mirrors/procmail/ \ ftp://ftp.informatik.rwth-aachen.de/pub/packages/procmail/ \ diff --git a/mail/procmail/files/patch-src-formisc.c b/mail/procmail/files/patch-src-formisc.c index 2743d6c5f94a..1e9736c14397 100644 --- a/mail/procmail/files/patch-src-formisc.c +++ b/mail/procmail/files/patch-src-formisc.c @@ -14,3 +14,12 @@ } 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; + } |