Apply patch fixing security issue from intexxia labs - #1048-261101

2001-11-26  Kevin Vandersloot <kfv101@psu.edu>

        * gnuserv.c: Apply patch fixing security issue from
        intexxia labs - #1048-261101
This commit is contained in:
Kevin Vandersloot
2001-11-26 22:16:57 +00:00
committed by Kevin Vandersloot
parent a478d380f4
commit ca94618e27

View File

@@ -93,7 +93,7 @@ syslog_message (int priority, char *format, ...)
vsnprintf (buffer, BUFSIZ-1, format, ap);
va_end (ap);
syslog (priority, buffer);
syslog (priority, "%s", buffer);
}
void
@@ -108,7 +108,7 @@ syslog_io_message (int priority, char *format, ...)
va_end (ap);
snprintf (buffer2, BUFSIZ-1, "%s: %s", buffer, strerror (errno));
syslog (priority, buffer2);
syslog (priority, "%s", buffer2);
}
/*