**** Merged from Hardangervidda ****
1999-11-28 Martin Baulig <martin@home-of-linux.org> * gnuserv.c (setup_table): Don't dump core when the table of permitted host names contains a NULL pointer.
This commit is contained in:
committed by
Martin Baulig
parent
aeeef43f45
commit
776b6965fb
@@ -1,3 +1,8 @@
|
|||||||
|
1999-11-28 Martin Baulig <martin@home-of-linux.org>
|
||||||
|
|
||||||
|
* gnuserv.c (setup_table): Don't dump core when the table of
|
||||||
|
permitted host names contains a NULL pointer.
|
||||||
|
|
||||||
1999-10-24 Martin Baulig <martin@home-of-linux.org>
|
1999-10-24 Martin Baulig <martin@home-of-linux.org>
|
||||||
|
|
||||||
* io.c (do_output): Added additional `int' parameter for the
|
* io.c (do_output): Added additional `int' parameter for the
|
||||||
|
@@ -297,6 +297,8 @@ setup_table (void)
|
|||||||
/* Resolv host names from permitted_host_names []. */
|
/* Resolv host names from permitted_host_names []. */
|
||||||
|
|
||||||
for (i = 0; i < HOST_TABLE_ENTRIES; i++) {
|
for (i = 0; i < HOST_TABLE_ENTRIES; i++) {
|
||||||
|
if (!permitted_host_names [i])
|
||||||
|
continue;
|
||||||
if (enable_debug)
|
if (enable_debug)
|
||||||
syslog_message (LOG_DEBUG, "Resolving %s ...",
|
syslog_message (LOG_DEBUG, "Resolving %s ...",
|
||||||
permitted_host_names [i]);
|
permitted_host_names [i]);
|
||||||
|
Reference in New Issue
Block a user