From 03290a345a76dfc0d504b2083b2e28223ea67e43 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 24 Feb 2021 14:56:09 +0100 Subject: Import from Fedora --- imap-2007f-format-security.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 imap-2007f-format-security.patch (limited to 'imap-2007f-format-security.patch') diff --git a/imap-2007f-format-security.patch b/imap-2007f-format-security.patch new file mode 100644 index 0000000..244153e --- /dev/null +++ b/imap-2007f-format-security.patch @@ -0,0 +1,12 @@ +diff -Naur imap-2007f.orig/src/osdep/unix/flocklnx.c imap-2007f/src/osdep/unix/flocklnx.c +--- imap-2007f.orig/src/osdep/unix/flocklnx.c 2011-07-23 02:20:11.000000000 +0200 ++++ imap-2007f/src/osdep/unix/flocklnx.c 2014-04-14 19:17:46.429000000 +0200 +@@ -57,7 +57,7 @@ + case ENOLCK: /* lock table is full */ + sprintf (tmp,"File locking failure: %s",strerror (errno)); + mm_log (tmp,WARN); /* give the user a warning of what happened */ +- if (!logged++) syslog (LOG_ERR,tmp); ++ if (!logged++) syslog (LOG_ERR, "%s", tmp); + /* return failure if non-blocking lock */ + if (op & LOCK_NB) return -1; + sleep (5); /* slow down in case it loops */ -- cgit