svn commit: r377689 - in branches/2015Q1/security/polarssl13: . files

Jase Thew jase at FreeBSD.org
Thu Jan 22 17:54:25 UTC 2015


Author: jase
Date: Thu Jan 22 17:54:24 2015
New Revision: 377689
URL: https://svnweb.freebsd.org/changeset/ports/377689
QAT: https://qat.redports.org/buildarchive/r377689/

Log:
  MFH: r377673
  
  security/polarssl13:
  - Add upstream patch to address crafted certificates vulnerability
  - Add USES cpe
  
  Security:	CVE-2015-1182
  Security:	a5856eba-a015-11e4-a680-1c6f65c3c4ff
  Approved by:	maintainer (chris at bsdjunk.com)
  Approved by:	ports-secteam (erwin)

Added:
  branches/2015Q1/security/polarssl13/files/patch-library-asn1parse_c
     - copied unchanged from r377673, head/security/polarssl13/files/patch-library-asn1parse_c
Modified:
  branches/2015Q1/security/polarssl13/Makefile
Directory Properties:
  branches/2015Q1/   (props changed)

Modified: branches/2015Q1/security/polarssl13/Makefile
==============================================================================
--- branches/2015Q1/security/polarssl13/Makefile	Thu Jan 22 17:49:26 2015	(r377688)
+++ branches/2015Q1/security/polarssl13/Makefile	Thu Jan 22 17:54:24 2015	(r377689)
@@ -2,6 +2,7 @@
 
 PORTNAME=	polarssl
 PORTVERSION=	1.3.9
+PORTREVISION=	1
 DISTVERSIONSUFFIX=	-gpl
 CATEGORIES=	security devel
 MASTER_SITES=	http://polarssl.org/download/
@@ -14,7 +15,7 @@ LICENSE=	GPLv2
 
 ALL_TARGET=	no_test
 
-USES=	gmake tar:tgz
+USES=	cpe gmake tar:tgz
 USE_LDCONFIG=	yes
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

Copied: branches/2015Q1/security/polarssl13/files/patch-library-asn1parse_c (from r377673, head/security/polarssl13/files/patch-library-asn1parse_c)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2015Q1/security/polarssl13/files/patch-library-asn1parse_c	Thu Jan 22 17:54:24 2015	(r377689, copy of r377673, head/security/polarssl13/files/patch-library-asn1parse_c)
@@ -0,0 +1,11 @@
+--- library/asn1parse.c.orig	2015-01-20 10:12:00.469677333 +0000
++++ library/asn1parse.c	2015-01-20 10:14:00.764667419 +0000
+@@ -278,6 +278,8 @@
+             if( cur->next == NULL )
+                 return( POLARSSL_ERR_ASN1_MALLOC_FAILED );
+ 
++            memset( cur->next, 0, sizeof( asn1_sequence ) );
++
+             cur = cur->next;
+         }
+     }


More information about the svn-ports-all mailing list