jlec        15/06/21 14:09:44

  Added:                1.0.16-format-security.patch
  Log:
  Add patch for format-security; bump to EAPI=5
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
E9402A79B03529A2!)

Revision  Changes    Path
1.1                  app-misc/cw/files/1.0.16-format-security.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/cw/files/1.0.16-format-security.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/cw/files/1.0.16-format-security.patch?rev=1.1&content-type=text/plain

Index: 1.0.16-format-security.patch
===================================================================
 src/cw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cw.c b/src/cw.c
index d7b4875..3ec1ac1 100644
--- a/src/cw.c
+++ b/src/cw.c
@@ -643,7 +643,7 @@ void sighandler(signed int sig){
  else if(sig==SIGUSR1)ext=1;
  else if(sig==SIGALRM)ext=2;
  else if(sig==SIGPIPE||sig==SIGINT){
-  fprintf(stderr,pal2[16]);
+  fprintf(stderr,"%s", pal2[16]);
   fflush(stderr);
   cwexit(0,0);
  }




Reply via email to