Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Dec 2017 11:45:13 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r456121 - in branches/2017Q4/mail/procmail: . files
Message-ID:  <201712121145.vBCBjDOg026642@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Tue Dec 12 11:45:12 2017
New Revision: 456121
URL: https://svnweb.freebsd.org/changeset/ports/456121

Log:
  MFH: r455800
  
  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
  
  Approved by:	ports-secteam (swills)

Modified:
  branches/2017Q4/mail/procmail/Makefile
  branches/2017Q4/mail/procmail/files/patch-src-formisc.c
Directory Properties:
  branches/2017Q4/   (props changed)

Modified: branches/2017Q4/mail/procmail/Makefile
==============================================================================
--- branches/2017Q4/mail/procmail/Makefile	Tue Dec 12 11:40:45 2017	(r456120)
+++ branches/2017Q4/mail/procmail/Makefile	Tue Dec 12 11:45:12 2017	(r456121)
@@ -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: branches/2017Q4/mail/procmail/files/patch-src-formisc.c
==============================================================================
--- branches/2017Q4/mail/procmail/files/patch-src-formisc.c	Tue Dec 12 11:40:45 2017	(r456120)
+++ branches/2017Q4/mail/procmail/files/patch-src-formisc.c	Tue Dec 12 11:45:12 2017	(r456121)
@@ -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?201712121145.vBCBjDOg026642>