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:12:02 +00:00
committed by Kevin Vandersloot
parent 97b32c7046
commit c276c375f5
2 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
2001-11-26 Kevin Vandersloot <kfv101@psu.edu>
* gnuserv.c: Apply patch fixing security issue from
intexxia labs - #1048-261101
2001-02-14 Martin Baulig <baulig@suse.de> 2001-02-14 Martin Baulig <baulig@suse.de>
* Makefile.am (libgtop_server_LDADD): Removed @LIBSUPPORT@. * Makefile.am (libgtop_server_LDADD): Removed @LIBSUPPORT@.

View File

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