1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

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
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2017-12-08 20:35:32 +00:00
parent 68eb36ed80
commit 61938bff8e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=455800
2 changed files with 10 additions and 1 deletions

View File

@ -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/ \

View File

@ -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;
}