[beast/devel: 2/6] SFI: applied format-security patch by Alessio Treglia (#665097)



commit 236e9d9a17918e399f75d29b62ced11111234f9b
Author: Tim Janik <timj gnu org>
Date:   Sun Jan 20 03:29:38 2013 +0100

    SFI: applied format-security patch by Alessio Treglia (#665097)

 sfi/sfidl-parser.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/sfi/sfidl-parser.cc b/sfi/sfidl-parser.cc
index 99015fd..e68adf6 100644
--- a/sfi/sfidl-parser.cc
+++ b/sfi/sfidl-parser.cc
@@ -204,7 +204,7 @@ Type Parser::typeOf (const String& type) const
   if (isSequence (type))      return SEQUENCE;
   if (isRecord (type))	      return RECORD;
   if (isClass (type))	      return OBJECT;
-  g_error (("invalid type: " + type).c_str());
+  g_error ("%s", ("invalid type: " + type).c_str());
   return VOID;
 }
 Sequence Parser::findSequence(const String& name) const



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]