Gentoo Archives: gentoo-commits

From: "Alon Bar-Lev (alonbl)" <alonbl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-crypt/md6sum/files: md6sum-1.0-format-security.patch
Date: Sat, 30 Aug 2014 18:29:37
Message-Id: 20140830182933.06A4C445E@oystercatcher.gentoo.org
1 alonbl 14/08/30 18:29:33
2
3 Added: md6sum-1.0-format-security.patch
4 Log:
5 Resolve format-security issue, bug#521000
6
7 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key BF20DC51)
8
9 Revision Changes Path
10 1.1 app-crypt/md6sum/files/md6sum-1.0-format-security.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/md6sum/files/md6sum-1.0-format-security.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/md6sum/files/md6sum-1.0-format-security.patch?rev=1.1&content-type=text/plain
14
15 Index: md6sum-1.0-format-security.patch
16 ===================================================================
17 From 95833e409336bd0a4a656b7e2d0a9598dfe3f546 Mon Sep 17 00:00:00 2001
18 From: Alon Bar-Lev <alon.barlev@×××××.com>
19 Date: Sat, 30 Aug 2014 21:25:23 +0300
20 Subject: [PATCH] build: fix warning of format-security
21
22 Signed-off-by: Alon Bar-Lev <alon.barlev@×××××.com>
23 ---
24 md6sum.c | 2 +-
25 1 file changed, 1 insertion(+), 1 deletion(-)
26
27 diff --git a/md6sum.c b/md6sum.c
28 index 2401a5a..0338d30 100644
29 --- a/md6sum.c
30 +++ b/md6sum.c
31 @@ -428,7 +428,7 @@ void optd(char *optstr)
32
33 void opth()
34 { /* print md6sum help string */
35 - printf(help_string);
36 + printf("%s", help_string);
37 }
38
39 void optK(char *optstr)
40 --
41 1.8.5.5