From owner-svn-ports-head@freebsd.org Wed Jul 29 13:01:17 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 286C29ADA39; Wed, 29 Jul 2015 13:01:17 +0000 (UTC) (envelope-from dinoex@FreeBSD.org) Received: from repo.freebsd.org (repo.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 004CE6B; Wed, 29 Jul 2015 13:01:17 +0000 (UTC) (envelope-from dinoex@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.14.9/8.14.9) with ESMTP id t6TD1Gbn036546; Wed, 29 Jul 2015 13:01:16 GMT (envelope-from dinoex@FreeBSD.org) Received: (from dinoex@localhost) by repo.freebsd.org (8.14.9/8.14.9/Submit) id t6TD1Flv036543; Wed, 29 Jul 2015 13:01:15 GMT (envelope-from dinoex@FreeBSD.org) Message-Id: <201507291301.t6TD1Flv036543@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dinoex set sender to dinoex@FreeBSD.org using -f From: Dirk Meyer Date: Wed, 29 Jul 2015 13:01:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r393157 - in head/graphics/graphviz: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jul 2015 13:01:17 -0000 Author: dinoex Date: Wed Jul 29 13:01:15 2015 New Revision: 393157 URL: https://svnweb.freebsd.org/changeset/ports/393157 Log: - import security fix from git Security: format string vulnerability Added: head/graphics/graphviz/files/patch-cmd-tools-gmlscan.l (contents, props changed) head/graphics/graphviz/files/patch-lib-cgraph-scan.l (contents, props changed) Modified: head/graphics/graphviz/Makefile Modified: head/graphics/graphviz/Makefile ============================================================================== --- head/graphics/graphviz/Makefile Wed Jul 29 12:48:12 2015 (r393156) +++ head/graphics/graphviz/Makefile Wed Jul 29 13:01:15 2015 (r393157) @@ -3,7 +3,7 @@ PORTNAME= graphviz PORTVERSION= 2.38.0 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= graphics tk MASTER_SITES= http://www.graphviz.org/pub/graphviz/ARCHIVE/ Added: head/graphics/graphviz/files/patch-cmd-tools-gmlscan.l ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/graphviz/files/patch-cmd-tools-gmlscan.l Wed Jul 29 13:01:15 2015 (r393157) @@ -0,0 +1,11 @@ +--- cmd/tools/gmlscan.l.orig 2014-04-13 22:40:25.000000000 +0200 ++++ cmd/tools/gmlscan.l 2015-07-29 14:51:42.000000000 +0200 +@@ -127,7 +127,7 @@ + return; + errors = 1; + sprintf(buf," %s in line %d near '%s'\n", str,line_num,yytext); +- agerr(AGWARN,buf); ++ agerr(AGWARN, "%s", buf); + } + + int gmlerrors() Added: head/graphics/graphviz/files/patch-lib-cgraph-scan.l ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/graphviz/files/patch-lib-cgraph-scan.l Wed Jul 29 13:01:15 2015 (r393157) @@ -0,0 +1,20 @@ +--- lib/cgraph/scan.l.orig 2014-04-13 22:40:25.000000000 +0200 ++++ lib/cgraph/scan.l 2015-07-29 14:51:27.000000000 +0200 +@@ -149,7 +149,7 @@ + agxbput(&xb,buf); + agxbput(&xb,fname); + agxbput(&xb, " splits into two tokens\n"); +- agerr(AGWARN,agxbuse(&xb)); ++ agerr(AGWARN, "%s", agxbuse(&xb)); + + agxbfree(&xb); + return 1; +@@ -225,7 +225,7 @@ + agxbput (&xb, buf); + agxbput (&xb, yytext); + agxbput (&xb,"'\n"); +- agerr(AGERR,agxbuse(&xb)); ++ agerr(AGERR, "%s", agxbuse(&xb)); + agxbfree(&xb); + } + /* must be here to see flex's macro defns */