Index: branches/2015Q4/net/miniupnpc/Makefile =================================================================== --- branches/2015Q4/net/miniupnpc/Makefile (revision 399287) +++ branches/2015Q4/net/miniupnpc/Makefile (revision 399288) @@ -1,35 +1,36 @@ # $FreeBSD$ PORTNAME= miniupnpc PORTVERSION= 1.9 +PORTREVISION?= 1 CATEGORIES?= net MASTER_SITES= http://miniupnp.free.fr/files/ MAINTAINER?= dinoex@FreeBSD.org COMMENT?= UPnP IGD client lightweight library LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES+= gmake HAS_CONFIGURE= yes USE_LDCONFIG= yes CONFIGURE_SCRIPT= updateminiupnpcstrings.sh MAKE_ENV+= INSTALLPREFIX=${PREFIX} .include .if defined(WITH_DEBUG) CFLAGS+= -DDEBUG .endif .if ${SLAVE_PORT} == no USE_RC_SUBR= miniupnpc post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/upnpc \ ${STAGEDIR}${PREFIX}/lib/libminiupnpc.so.10 .endif .include Index: branches/2015Q4/net/miniupnpc/files/patch-CVE-2015-6031 =================================================================== --- branches/2015Q4/net/miniupnpc/files/patch-CVE-2015-6031 (nonexistent) +++ branches/2015Q4/net/miniupnpc/files/patch-CVE-2015-6031 (revision 399288) @@ -0,0 +1,24 @@ +commit 79cca974a4c2ab1199786732a67ff6d898051b78 +Author: Thomas Bernard +Date: Tue Sep 15 15:32:33 2015 +0200 + + igd_desc_parse.c: fix buffer overflow +--- + miniupnpc/igd_desc_parse.c | 8 +++++--- + 1 file changed, 5 insertions(+), 3 deletions(-) + +diff --git a/miniupnpc/igd_desc_parse.c b/miniupnpc/igd_desc_parse.c +index 892a090..d2999ad 100644 +--- igd_desc_parse.c.orig 2011-04-11 09:19:37 UTC ++++ igd_desc_parse.c +@@ -15,7 +15,9 @@ + void IGDstartelt(void * d, const char * name, int l) + { + struct IGDdatas * datas = (struct IGDdatas *)d; +- memcpy( datas->cureltname, name, l); ++ if(l >= MINIUPNPC_URL_MAXSIZE) ++ l = MINIUPNPC_URL_MAXSIZE-1; ++ memcpy(datas->cureltname, name, l); + datas->cureltname[l] = '\0'; + datas->level++; + if( (l==7) && !memcmp(name, "service", l) ) { Property changes on: branches/2015Q4/net/miniupnpc/files/patch-CVE-2015-6031 ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property