public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in x11-plugins/wmswallow/files: wmswallow-0.6.1-format-security.patch
@ 2015-04-01 15:22 Bernard Cafarelli (voyageur)
  0 siblings, 0 replies; only message in thread
From: Bernard Cafarelli (voyageur) @ 2015-04-01 15:22 UTC (permalink / raw
  To: gentoo-commits

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=utf8, Size: 1275 bytes --]

voyageur    15/04/01 15:22:06

  Added:                wmswallow-0.6.1-format-security.patch
  Log:
  Fix compilation with format-security, bug #544644
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 00F7AB331B0F097F)

Revision  Changes    Path
1.1                  x11-plugins/wmswallow/files/wmswallow-0.6.1-format-security.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmswallow/files/wmswallow-0.6.1-format-security.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmswallow/files/wmswallow-0.6.1-format-security.patch?rev=1.1&content-type=text/plain

Index: wmswallow-0.6.1-format-security.patch
===================================================================
--- wmswallow.c.orig	2015-04-01 17:12:29.420177608 +0200
+++ wmswallow.c	2015-04-01 17:13:14.947182921 +0200
@@ -445,11 +445,11 @@
 int printlist(FILE * stream, char * string, char **stringlist) {
   int i=0;
 
-  fprintf(stream, string);
+  fprintf(stream, "%s", string);
   if (stringlist!=NULL) {
     while (stringlist[i]!=NULL) {
       fprintf(stream, " §");
-      fprintf(stream, stringlist[i]);
+      fprintf(stream, "%s", stringlist[i]);
       fprintf(stream, "§ ");
       ++i;
     }





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-04-01 15:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-01 15:22 [gentoo-commits] gentoo-x86 commit in x11-plugins/wmswallow/files: wmswallow-0.6.1-format-security.patch Bernard Cafarelli (voyageur)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox