aboutsummaryrefslogtreecommitdiff
path: root/databases/gnats/files
diff options
context:
space:
mode:
authorCeri Davies <ceri@FreeBSD.org>2004-11-14 18:06:57 +0000
committerCeri Davies <ceri@FreeBSD.org>2004-11-14 18:06:57 +0000
commitdf6f1fa65cf1a06179e2a031c4d661dca832c8d1 (patch)
tree615acc5780eedc81ea6747d02674312156a0eb66 /databases/gnats/files
parent85b163fd410edb48e6dd42e202d8705a653afabe (diff)
downloadports-df6f1fa65cf1a06179e2a031c4d661dca832c8d1.tar.gz
ports-df6f1fa65cf1a06179e2a031c4d661dca832c8d1.zip
Merge security fix from 4.0.1 for CAN-2004-0623.
Notes
Notes: svn path=/head/; revision=121595
Diffstat (limited to 'databases/gnats/files')
-rw-r--r--databases/gnats/files/patch-gnats::misc.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/gnats/files/patch-gnats::misc.c b/databases/gnats/files/patch-gnats::misc.c
new file mode 100644
index 000000000000..12955843b738
--- /dev/null
+++ b/databases/gnats/files/patch-gnats::misc.c
@@ -0,0 +1,11 @@
+--- gnats/misc.c.orig Sun Nov 14 17:59:15 2004
++++ gnats/misc.c Sun Nov 14 17:56:58 2004
+@@ -79,7 +79,7 @@
+ {
+ #ifdef HAVE_SYSLOG_H
+ if (log_method == SYSLOG)
+- syslog (severity, buf);
++ syslog (severity, "%s", buf);
+ else
+ #endif
+ if (gnats_logfile != (FILE *) NULL)