File log_message_cb_flaw.patch of Package pidgin-otr.526

Index: pidgin-otr-3.2.0/otr-plugin.c
===================================================================
--- pidgin-otr-3.2.0.orig/otr-plugin.c
+++ pidgin-otr-3.2.0/otr-plugin.c
@@ -287,7 +287,7 @@ static void still_secure_cb(void *opdata
 
 static void log_message_cb(void *opdata, const char *message)
 {
-    purple_debug_info("otr", message);
+    purple_debug_info("otr", "%s", message);
 }
 
 static int max_message_size_cb(void *opdata, ConnContext *context)