alonbl      14/08/30 18:29:33

  Added:                md6sum-1.0-format-security.patch
  Log:
  Resolve format-security issue, bug#521000
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 
BF20DC51)

Revision  Changes    Path
1.1                  app-crypt/md6sum/files/md6sum-1.0-format-security.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/md6sum/files/md6sum-1.0-format-security.patch?rev=1.1&view=markup
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

Index: md6sum-1.0-format-security.patch
===================================================================
>From 95833e409336bd0a4a656b7e2d0a9598dfe3f546 Mon Sep 17 00:00:00 2001
From: Alon Bar-Lev <[email protected]>
Date: Sat, 30 Aug 2014 21:25:23 +0300
Subject: [PATCH] build: fix warning of format-security

Signed-off-by: Alon Bar-Lev <[email protected]>
---
 md6sum.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/md6sum.c b/md6sum.c
index 2401a5a..0338d30 100644
--- a/md6sum.c
+++ b/md6sum.c
@@ -428,7 +428,7 @@ void optd(char *optstr)
 
 void opth()
 { /* print md6sum help string */
-  printf(help_string);
+  printf("%s", help_string);
 }
 
 void optK(char *optstr)
-- 
1.8.5.5





Reply via email to