Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Dec 2017 20:35:32 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r455800 - in head/mail/procmail: . files
Message-ID:  <201712082035.vB8KZW6e012295@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Fri Dec  8 20:35:32 2017
New Revision: 455800
URL: https://svnweb.freebsd.org/changeset/ports/455800

Log:
  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

Modified:
  head/mail/procmail/Makefile
  head/mail/procmail/files/patch-src-formisc.c

Modified: head/mail/procmail/Makefile
==============================================================================
--- head/mail/procmail/Makefile	Fri Dec  8 20:35:26 2017	(r455799)
+++ head/mail/procmail/Makefile	Fri Dec  8 20:35:32 2017	(r455800)
@@ -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/ \

Modified: head/mail/procmail/files/patch-src-formisc.c
==============================================================================
--- head/mail/procmail/files/patch-src-formisc.c	Fri Dec  8 20:35:26 2017	(r455799)
+++ head/mail/procmail/files/patch-src-formisc.c	Fri Dec  8 20:35:32 2017	(r455800)
@@ -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;
+ }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712082035.vB8KZW6e012295>