[liblocale-hebrew-perl] 03/05: Fix "format not a string literal" compile error (patch)

Florian Schlichting fsfs at moszumanska.debian.org
Sun Apr 13 20:26:44 UTC 2014


This is an automated email from the git hooks/post-receive script.

fsfs pushed a commit to branch master
in repository liblocale-hebrew-perl.

commit 967e4659b0011426de058ff30203d69a2195e120
Author: Florian Schlichting <fsfs at debian.org>
Date:   Sun Apr 13 22:15:07 2014 +0200

    Fix "format not a string literal" compile error (patch)
---
 debian/patches/format_not_a_string_literal.patch | 33 ++++++++++++++++++++++++
 debian/patches/series                            |  1 +
 2 files changed, 34 insertions(+)

diff --git a/debian/patches/format_not_a_string_literal.patch b/debian/patches/format_not_a_string_literal.patch
new file mode 100644
index 0000000..62af7e4
--- /dev/null
+++ b/debian/patches/format_not_a_string_literal.patch
@@ -0,0 +1,33 @@
+Description: fix "format not a string literal" compile error [-Werror=format-security]
+Author: Florian Schlichting <fsfs at debian.org>
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=94692
+
+--- a/bidi.c
++++ b/bidi.c
+@@ -1234,7 +1234,7 @@
+     }
+     pszTypes[ich] = 0;
+ 
+-    fprintf(f, pszTypes);
++    fprintf(f, "%s", pszTypes);
+ }
+ 
+ void ShowTypes(FILE* f, int * types, int cch) {
+@@ -1245,7 +1245,7 @@
+     }
+     pszTypes[ich] = 0;
+ 
+-    fprintf(f, pszTypes);
++    fprintf(f, "%s", pszTypes);
+ }
+ 
+ void ShowLevels(FILE* f, int * levels, int cch) {
+@@ -1256,7 +1256,7 @@
+     }
+     pszLevel[ich] = 0;
+ 
+-    fprintf(f, pszLevel);
++    fprintf(f, "%s", pszLevel);
+ }
+ 
+ void usage(char *s) {
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..024f72e
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+format_not_a_string_literal.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/liblocale-hebrew-perl.git



More information about the Pkg-perl-cvs-commits mailing list