[packages/mailutils] - missing patch for format strings warnings

qboosh qboosh at pld-linux.org
Tue Jan 21 17:50:22 CET 2025


commit 413292ec1757e805b922b1624e7f4bf1c98b2587
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Jan 21 17:23:09 2025 +0100

    - missing patch for format strings warnings

 mailutils-format.patch | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
---
diff --git a/mailutils-format.patch b/mailutils-format.patch
new file mode 100644
index 0000000..89264f8
--- /dev/null
+++ b/mailutils-format.patch
@@ -0,0 +1,20 @@
+--- mailutils-3.18/libmailutils/diag/debug.c.orig	2025-01-02 14:36:30.000000000 +0100
++++ mailutils-3.18/libmailutils/diag/debug.c	2025-01-18 18:48:43.651344459 +0100
+@@ -511,7 +511,7 @@ mu_debug_format_spec (mu_stream_t str, c
+ 	{
+ 	  if (delim)
+ 	    {
+-	      rc = mu_stream_printf (str, delim);
++	      rc = mu_stream_printf (str, "%s", delim);
+ 	      if (rc)
+ 		break;
+ 	    }
+@@ -564,7 +564,7 @@ mu_debug_format_spec (mu_stream_t str, c
+ 	{
+ 	  if (delim)
+ 	    {
+-	      rc = mu_stream_printf (str, delim);
++	      rc = mu_stream_printf (str, "%s", delim);
+ 	      if (rc)
+ 		break;
+ 	    }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mailutils.git/commitdiff/413292ec1757e805b922b1624e7f4bf1c98b2587



More information about the pld-cvs-commit mailing list