[packages/perl-Term-Gnuplot] - one more format string error fixed
baggins
baggins at pld-linux.org
Thu Jun 13 23:04:26 CEST 2013
commit 73d25e92b3d98e9599268d51bba6c4c7ee84ec86
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Thu Jun 13 23:04:13 2013 +0200
- one more format string error fixed
format-security.patch | 11 +++++++++++
1 file changed, 11 insertions(+)
---
diff --git a/format-security.patch b/format-security.patch
index 3019481..5e96eae 100644
--- a/format-security.patch
+++ b/format-security.patch
@@ -9,3 +9,14 @@
if (ps_common_uses_fonts)
fprintf(gpoutfile, "(%s) findfont %d scalefont setfont\n",
ps_font, (t->v_char) );
+--- Term-Gnuplot-0.90380905/Gnuplot.xs~ 2006-05-25 05:02:22.000000000 +0200
++++ Term-Gnuplot-0.90380905/Gnuplot.xs 2013-06-13 23:03:54.094869081 +0200
+@@ -38,7 +38,7 @@
+ char buf[80];
+ sprintf(buf, "panic: more than %d tokens for options: %d",
+ MAX_TOKENS, num_tokens);
+- croak(buf);
++ croak("%s", buf);
+ }
+ while (num_tokens > tk) {
+ SV *elt = *svp++;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Term-Gnuplot.git/commitdiff/73d25e92b3d98e9599268d51bba6c4c7ee84ec86
More information about the pld-cvs-commit
mailing list