summaryrefslogtreecommitdiff
path: root/security/cyrus-sasl2/files
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-12-09 03:07:36 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-12-09 03:07:36 +0000
commit73358a5ab027ea1b2796bce8b58ff4853d24bea2 (patch)
tree284bc177e624759432b1961a3b2cdeafce399ef1 /security/cyrus-sasl2/files
parentUpdate to 0.4.1 (diff)
Fix formatting string bug
Remove old MASTER_SITE PR: 32555 Submitted by: alx@cii.sumy.ua Approved by: maintainer
Notes
Notes: svn path=/head/; revision=51268
Diffstat (limited to 'security/cyrus-sasl2/files')
-rw-r--r--security/cyrus-sasl2/files/patch-lib::common.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/cyrus-sasl2/files/patch-lib::common.c b/security/cyrus-sasl2/files/patch-lib::common.c
new file mode 100644
index 000000000000..1bc58a81c3d6
--- /dev/null
+++ b/security/cyrus-sasl2/files/patch-lib::common.c
@@ -0,0 +1,11 @@
+--- lib/common.c.orig Thu Dec 6 18:34:09 2001
++++ lib/common.c Thu Dec 6 18:34:24 2001
+@@ -596,7 +596,7 @@
+ }
+
+ /* do the syslog call. do not need to call openlog */
+- syslog(syslog_priority | LOG_AUTH, message);
++ syslog(syslog_priority | LOG_AUTH, "%s", message);
+
+ return SASL_OK;
+ }