tupone      14/09/04 07:04:35

  Added:                smpeg-0.4.4-format.patch
  Log:
  Make it compile with format-security. Bug #521110
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 
0145142D)

Revision  Changes    Path
1.1                  media-libs/smpeg/files/smpeg-0.4.4-format.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/smpeg/files/smpeg-0.4.4-format.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/smpeg/files/smpeg-0.4.4-format.patch?rev=1.1&content-type=text/plain

Index: smpeg-0.4.4-format.patch
===================================================================
--- plaympeg.c.old      2014-09-04 08:55:10.646132150 +0200
+++ plaympeg.c  2014-09-04 08:56:57.465210820 +0200
@@ -262,7 +262,7 @@
       answer[i] = c;
     }
     answer[i] = 0;
-    fprintf(stderr, answer + 4);
+    fprintf(stderr, "%s", answer + 4);
   }
   while(answer[3] == '-');
 




Reply via email to