svn commit: r393157 - in head/graphics/graphviz: . files
Dirk Meyer
dinoex at FreeBSD.org
Wed Jul 29 13:01:17 UTC 2015
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 */
More information about the svn-ports-all
mailing list