From 5b6c9b96db665106e09fa5d850c2a168be07b599 Mon Sep 17 00:00:00 2001 From: bp Date: Tue, 30 Jan 2001 11:28:18 +0000 Subject: Temporary security fixes. Submitted by: Chris Faulhaber Obtained from: Przemyslaw Frasunek --- net/mars_nwe/files/patch-ab | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 net/mars_nwe/files/patch-ab 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; + -- cgit