Check-in Number:
|
1275 | |
Date: |
2001-Nov-08 10:02:35 (local)
2001-Nov-08 09:02:35 (UTC) |
User: | rse |
Branch: | |
Comment: |
fix big security hole |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/l2/l2_ch_syslog.c 1.27 -> 1.28
--- l2_ch_syslog.c 2001/11/07 13:05:20 1.27
+++ l2_ch_syslog.c 2001/11/08 09:02:35 1.28
@@ -275,7 +275,7 @@
if (strcmp(cfg->szTarget, "local") == 0) {
/* send to local syslogd via syslog(3) */
- syslog(prio, buf);
+ syslog(prio, "%s", buf);
}
else {
/* send to remote syslogd via UDP */
|
|