Bug#646467: supposed fix

December 03rd, 2011 - 10:40 am ET by Wolfram Sang | Report spam



tags 646467 patch
thanks

Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |


From: Wolfram Sang <w.sang@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.sang@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







To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
email Follow the discussionReplies 1 replyReplies Make a reply

Replies

#1 Roman Dubtsov
December 03rd, 2011 - 10:50 am ET | Report spam
On Sat, Dec 3, 2011 at 10:28 PM, Wolfram Sang
wrote:> tags 646467 patch> thanks
Thanks. Will apply as soon as possible.

:wbr



To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact

Similar topics