Don't dump core when the table of permitted host names contains a NULL
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
caf17330b3
commit
ad536313f1
@@ -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-07-29 Martin Baulig <martin@home-of-linux.org>
|
||||
|
||||
* Makefile.am: Link the `libgtop_daemon' and the `libgtop_server'
|
||||
|
@@ -297,6 +297,8 @@ setup_table (void)
|
||||
/* Resolv host names from permitted_host_names []. */
|
||||
|
||||
for (i = 0; i < HOST_TABLE_ENTRIES; i++) {
|
||||
if (!permitted_host_names [i])
|
||||
continue;
|
||||
if (enable_debug)
|
||||
syslog_message (LOG_DEBUG, "Resolving %s ...",
|
||||
permitted_host_names [i]);
|
||||
|
Reference in New Issue
Block a user