tupone      14/10/20 12:26:24

  Added:                adonthell-0.3.5-format.patch
  Log:
  Fix compile with format-security. Bug #520470
  
  (Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 
0145142D)

Revision  Changes    Path
1.1                  games-rpg/adonthell/files/adonthell-0.3.5-format.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-rpg/adonthell/files/adonthell-0.3.5-format.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-rpg/adonthell/files/adonthell-0.3.5-format.patch?rev=1.1&content-type=text/plain

Index: adonthell-0.3.5-format.patch
===================================================================
--- src/py_adonthell_wrap.cc.old        2014-10-20 14:21:57.495642785 +0200
+++ src/py_adonthell_wrap.cc    2014-10-20 14:22:35.019293237 +0200
@@ -867,7 +867,7 @@
     Py_DECREF(old_str);
     Py_DECREF(value);
   } else {
-    PyErr_Format(PyExc_RuntimeError, mesg);
+    PyErr_Format(PyExc_RuntimeError, "%s", mesg);
   }
 }
 




Reply via email to