Date: Tue, 19 May 2015 17:00:57 +0000 (UTC) From: Brad Davis <brd@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r386793 - in head/security/ipsec-tools: . files Message-ID: <201505191700.t4JH0vl6056504@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brd Date: Tue May 19 17:00:57 2015 New Revision: 386793 URL: https://svnweb.freebsd.org/changeset/ports/386793 Log: Update ipsec-tools with a patch from NetBSD to fix a memory leak. PR: 200334 (reported in) Submitted by: brd Approved by: bdrewery (mentor, portmgr) MFH: 2015Q2 Added: head/security/ipsec-tools/files/patch-src_racoon_gssapi.c (contents, props changed) Modified: head/security/ipsec-tools/Makefile Modified: head/security/ipsec-tools/Makefile ============================================================================== --- head/security/ipsec-tools/Makefile Tue May 19 16:46:13 2015 (r386792) +++ head/security/ipsec-tools/Makefile Tue May 19 17:00:57 2015 (r386793) @@ -8,6 +8,7 @@ PORTNAME= ipsec-tools PORTVERSION= 0.8.2 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= SF Added: head/security/ipsec-tools/files/patch-src_racoon_gssapi.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/ipsec-tools/files/patch-src_racoon_gssapi.c Tue May 19 17:00:57 2015 (r386793) @@ -0,0 +1,14 @@ +--- src/racoon/gssapi.c.orig 2015-05-19 16:38:06 UTC ++++ src/racoon/gssapi.c +@@ -192,6 +192,11 @@ gssapi_init(struct ph1handle *iph1) + gss_name_t princ, canon_princ; + OM_uint32 maj_stat, min_stat; + ++ if (iph1->rmconf == NULL) { ++ plog(LLV_ERROR, LOCATION, NULL, "no remote config\n"); ++ return -1; ++ } ++ + gps = racoon_calloc(1, sizeof (struct gssapi_ph1_state)); + if (gps == NULL) { + plog(LLV_ERROR, LOCATION, NULL, "racoon_calloc failed\n");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505191700.t4JH0vl6056504>