summaryrefslogtreecommitdiff
path: root/net/mars_nwe
diff options
context:
space:
mode:
authorBoris Popov <bp@FreeBSD.org>2001-01-30 11:28:18 +0000
committerBoris Popov <bp@FreeBSD.org>2001-01-30 11:28:18 +0000
commit619605ab5d8abbe8b232e56181c2ed1446ffff4a (patch)
treed7ced4a07bc4410dceb847a0c4ae8e1f04d9eed6 /net/mars_nwe
parentFix brokeness due to recent libgcc* changes. (diff)
Temporary security fixes.
Submitted by: Chris Faulhaber <jedgar@fxp.org> Obtained from: Przemyslaw Frasunek <venglin@FREEBSD.LUBLIN.PL>
Notes
Notes: svn path=/head/; revision=37788
Diffstat (limited to 'net/mars_nwe')
-rw-r--r--net/mars_nwe/files/patch-ab21
1 files changed, 21 insertions, 0 deletions
diff --git a/net/mars_nwe/files/patch-ab b/net/mars_nwe/files/patch-ab
new file mode 100644
index 000000000000..5491cf2418ea
--- /dev/null
+++ b/net/mars_nwe/files/patch-ab
@@ -0,0 +1,21 @@
+--- tools.c.orig Fri Jan 26 22:46:34 2001
++++ tools.c Fri Jan 26 22:46:59 2001
+@@ -189,7 +189,7 @@
+ sprintf(identstr, "%s %d %3d", get_debstr(0),
+ act_connection, act_ncpsequence);
+ openlog(identstr, LOG_CONS, LOG_DAEMON);
+- syslog(LOG_DEBUG, buf);
++ syslog(LOG_DEBUG, "%s", buf);
+ closelog();
+ } else {
+ int l=strlen(buf);
+@@ -249,7 +249,7 @@
+ }
+ sprintf(identstr, "%s %d %3d", get_debstr(0), act_connection, act_ncpsequence);
+ openlog(identstr, LOG_CONS, LOG_DAEMON);
+- syslog(prio, buf);
++ syslog(prio, "%s", buf);
+ closelog();
+ if (!mode) return;
+ lologfile=stderr;
+