ASR_BASE
Change-Id: Icf3719cc0afe3eeb3edc7fa80a2eb5199ca9dda1
diff --git a/external/subpack/libs/uw-imap/patches/006-imap-2007f-format-security.patch b/external/subpack/libs/uw-imap/patches/006-imap-2007f-format-security.patch
new file mode 100644
index 0000000..ce35b3b
--- /dev/null
+++ b/external/subpack/libs/uw-imap/patches/006-imap-2007f-format-security.patch
@@ -0,0 +1,11 @@
+--- a/src/osdep/unix/flocklnx.c
++++ b/src/osdep/unix/flocklnx.c
+@@ -57,7 +57,7 @@ int safe_flock (int fd,int op)
+ 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 */