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; }