Fix format security warnings.
Fix format security warnings, since they are treated as errors in Standards Version 3.9.8.
This commit is contained in:
29
debian/patches/09-fix-format-security-warnings.patch
vendored
Normal file
29
debian/patches/09-fix-format-security-warnings.patch
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
From: Carlos Maddela <e7appew@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@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++)
|
||||
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user