Bug#646467: supposed fix

2011-12-03 Thread Wolfram Sang
tags 646467 patch
thanks

-- 
Pengutronix e.K.   | Wolfram Sang|
Industrial Linux Solutions | http://www.pengutronix.de/  |
From: Wolfram Sang w.s...@pengutronix.de
Subject: fix '-Werror=format-security' flaw

We won't have format specifiers, so simply use fputs. This patch applies to the
current debian version and upstream master as well (with offset).

Signed-off-by: Wolfram Sang w.s...@pengutronix.de
---
 debug.c |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: src/debug.c
===
--- a/src/debug.c
+++ b/src/debug.c
@@ -28,7 +28,7 @@ void print_message_to_stderr(const char
 	va_start(va, fmt);
 	vsnprintf(msg, PATH_MAX, fmt, va);
 	va_end(va);
-	fprintf(stderr, msg);
+	fputs(msg, stderr);
 }
 
 #ifdef DEBUG


signature.asc
Description: Digital signature


Bug#646467: supposed fix

2011-12-03 Thread Roman Dubtsov
On Sat, Dec 3, 2011 at 10:28 PM, Wolfram Sang w.s...@pengutronix.de
wrote: tags 646467 patch thanks
Thanks. Will apply as soon as possible.

-- 
:wbr



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org