[Pkg-opt-media-team] [dvdisaster] 06/61: Fix format security warnings.
Takaki Taniguchi
takaki at moszumanska.debian.org
Thu Feb 2 13:48:36 UTC 2017
This is an automated email from the git hooks/post-receive script.
takaki pushed a commit to branch master
in repository dvdisaster.
commit ceff546a548bccafb1d385dcc5ad838465e6a641
Author: Carlos Maddela <e7appew at gmail.com>
Date: Mon Dec 19 01:31:02 2016 +1100
Fix format security warnings.
Fix format security warnings, since they are treated as errors in
Standards Version 3.9.8.
---
.../patches/09-fix-format-security-warnings.patch | 29 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 30 insertions(+)
diff --git a/debian/patches/09-fix-format-security-warnings.patch b/debian/patches/09-fix-format-security-warnings.patch
new file mode 100644
index 0000000..93e4b87
--- /dev/null
+++ b/debian/patches/09-fix-format-security-warnings.patch
@@ -0,0 +1,29 @@
+From: Carlos Maddela <e7appew at gmail.com>
+Date: Mon, 19 Dec 2016 00:58:24 +1100
+Subject: Fix format security warnings.
+
+Description: Fix format security warnings.
+ They are treated as errors in Standards Version 3.9.8.
+Author: Carlos Maddela <e7appew at gmail.com>
+Origin: vendor
+Forwarded: no
+Last-Update: 2016-12-19
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+---
+ tools/memory.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tools/memory.c b/tools/memory.c
+index f2c0c48..edf32ec 100644
+--- a/tools/memory.c
++++ b/tools/memory.c
+@@ -165,7 +165,7 @@ static void print_ptr(memchunk *mc, int size)
+ static void print_ptrs(char *msg)
+ { int bucket,i,n=0;
+
+- fprintf(stdout, msg);
++ fprintf(stdout, "%s", msg);
+
+ for(bucket=0; bucket<64; bucket++)
+ for(i=0; i<phCnt[bucket]; i++)
diff --git a/debian/patches/series b/debian/patches/series
index 7c48a2d..ed250bf 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@
06-remove-encoding-from-desktop-file.patch
07-fix-spelling-errors-in-binaries.patch
08-fix-gnu-make-detection.patch
+09-fix-format-security-warnings.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opt-media/dvdisaster.git
More information about the Pkg-opt-media-team
mailing list