From owner-svn-ports-all@FreeBSD.ORG Tue May 19 17:32:04 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 05A1F885; Tue, 19 May 2015 17:32:04 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CE0EC1C60; Tue, 19 May 2015 17:32:03 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t4JHW3O4074836; Tue, 19 May 2015 17:32:03 GMT (envelope-from brd@FreeBSD.org) Received: (from brd@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t4JHW3xo074834; Tue, 19 May 2015 17:32:03 GMT (envelope-from brd@FreeBSD.org) Message-Id: <201505191732.t4JHW3xo074834@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: brd set sender to brd@FreeBSD.org using -f From: Brad Davis Date: Tue, 19 May 2015 17:32:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r386796 - in branches/2015Q2/security/ipsec-tools: . files X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2015 17:32:04 -0000 Author: brd Date: Tue May 19 17:32:02 2015 New Revision: 386796 URL: https://svnweb.freebsd.org/changeset/ports/386796 Log: MFH: r386793 - Update ipsec-tools with a patch from NetBSD to fix a memory leak. Approved by: portmgr (erwin) Added: branches/2015Q2/security/ipsec-tools/files/patch-src_racoon_gssapi.c - copied unchanged from r386793, head/security/ipsec-tools/files/patch-src_racoon_gssapi.c Modified: branches/2015Q2/security/ipsec-tools/Makefile Directory Properties: branches/2015Q2/ (props changed) Modified: branches/2015Q2/security/ipsec-tools/Makefile ============================================================================== --- branches/2015Q2/security/ipsec-tools/Makefile Tue May 19 17:23:00 2015 (r386795) +++ branches/2015Q2/security/ipsec-tools/Makefile Tue May 19 17:32:02 2015 (r386796) @@ -8,6 +8,7 @@ PORTNAME= ipsec-tools PORTVERSION= 0.8.2 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= SF Copied: branches/2015Q2/security/ipsec-tools/files/patch-src_racoon_gssapi.c (from r386793, head/security/ipsec-tools/files/patch-src_racoon_gssapi.c) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2015Q2/security/ipsec-tools/files/patch-src_racoon_gssapi.c Tue May 19 17:32:02 2015 (r386796, copy of r386793, head/security/ipsec-tools/files/patch-src_racoon_gssapi.c) @@ -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");