mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
74551bbdb7
Obtained from: SRT Security Advisory (SRT2002-06-04-1011): slurp, posted to BUGTRAQ on June 4, 2002, by zillion <zillion@snosoft.com>.
12 lines
288 B
C
12 lines
288 B
C
--- misc.c.orig Tue Feb 7 06:32:01 1995
|
|
+++ misc.c Wed Jun 5 06:12:43 2002
|
|
@@ -108,7 +108,7 @@
|
|
(void) strcat (buf, "\n");
|
|
#ifdef SYSLOG
|
|
if (!debug_flag)
|
|
- syslog (LOG_ERR, buf);
|
|
+ syslog (LOG_ERR, "%s", buf);
|
|
else
|
|
#endif
|
|
(void) fprintf (stderr, "%s: %s", pname, buf);
|