svn commit: r395646 - in branches/2015Q3/graphics/graphviz: . files
Jason Unovitch
junovitch at FreeBSD.org
Sun Aug 30 23:19:11 UTC 2015
Author: junovitch
Date: Sun Aug 30 23:19:09 2015
New Revision: 395646
URL: https://svnweb.freebsd.org/changeset/ports/395646
Log:
MFH: r393157
- import security fix from git
Security: format string vulnerability
Security: 5300711b-4e61-11e5-9ad8-14dae9d210b8
Approved by: ports-secteam (feld), feld (mentor)
Added:
branches/2015Q3/graphics/graphviz/files/patch-cmd-tools-gmlscan.l
- copied unchanged from r393157, head/graphics/graphviz/files/patch-cmd-tools-gmlscan.l
branches/2015Q3/graphics/graphviz/files/patch-lib-cgraph-scan.l
- copied unchanged from r393157, head/graphics/graphviz/files/patch-lib-cgraph-scan.l
Modified:
branches/2015Q3/graphics/graphviz/Makefile
Directory Properties:
branches/2015Q3/ (props changed)
Modified: branches/2015Q3/graphics/graphviz/Makefile
==============================================================================
--- branches/2015Q3/graphics/graphviz/Makefile Sun Aug 30 21:09:55 2015 (r395645)
+++ branches/2015Q3/graphics/graphviz/Makefile Sun Aug 30 23:19:09 2015 (r395646)
@@ -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/
Copied: branches/2015Q3/graphics/graphviz/files/patch-cmd-tools-gmlscan.l (from r393157, head/graphics/graphviz/files/patch-cmd-tools-gmlscan.l)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/2015Q3/graphics/graphviz/files/patch-cmd-tools-gmlscan.l Sun Aug 30 23:19:09 2015 (r395646, copy of r393157, head/graphics/graphviz/files/patch-cmd-tools-gmlscan.l)
@@ -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()
Copied: branches/2015Q3/graphics/graphviz/files/patch-lib-cgraph-scan.l (from r393157, head/graphics/graphviz/files/patch-lib-cgraph-scan.l)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/2015Q3/graphics/graphviz/files/patch-lib-cgraph-scan.l Sun Aug 30 23:19:09 2015 (r395646, copy of r393157, head/graphics/graphviz/files/patch-lib-cgraph-scan.l)
@@ -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-branches
mailing list