Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jul 2015 13:01:15 +0000 (UTC)
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r393157 - in head/graphics/graphviz: . files
Message-ID:  <201507291301.t6TD1Flv036543@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507291301.t6TD1Flv036543>