[packages/meanwhile] - forgotten patch
witekfl
witekfl at pld-linux.org
Wed Apr 1 17:04:00 CEST 2015
commit d9119abc7bf0c97da83b3fb566df5bf915ff0741
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Wed Apr 1 15:03:42 2015 +0000
- forgotten patch
format-security.patch | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
---
diff --git a/format-security.patch b/format-security.patch
new file mode 100644
index 0000000..395edd4
--- /dev/null
+++ b/format-security.patch
@@ -0,0 +1,20 @@
+--- meanwhile-1.0.2/src/mw_debug.c.orig 2015-04-01 14:52:02.000000000 +0000
++++ meanwhile-1.0.2/src/mw_debug.c 2015-04-01 14:53:04.000000000 +0000
+@@ -92,7 +92,7 @@ void mw_debug_datav(const guchar *buf, g
+ }
+ pretty_print(str, buf, len);
+
+- g_debug(str->str);
++ g_debug("%s", str->str);
+ g_string_free(str, TRUE);
+ }
+
+@@ -149,7 +149,7 @@ void mw_mailme_datav(const guchar *buf,
+
+ g_string_append(str, MW_MAILME_CUT_STOP);
+
+- g_debug(str->str);
++ g_debug("%s", str->str);
+ g_string_free(str, TRUE);
+
+ #else
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/meanwhile.git/commitdiff/d9119abc7bf0c97da83b3fb566df5bf915ff0741
More information about the pld-cvs-commit
mailing list