diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/daemon/ChangeLog | 5 | ||||
-rw-r--r-- | src/daemon/gnuserv.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/daemon/ChangeLog b/src/daemon/ChangeLog index 75f6ac3c..32900d1f 100644 --- a/src/daemon/ChangeLog +++ b/src/daemon/ChangeLog @@ -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> * io.c (do_output): Added additional `int' parameter for the diff --git a/src/daemon/gnuserv.c b/src/daemon/gnuserv.c index 0ed7778d..551d2219 100644 --- a/src/daemon/gnuserv.c +++ b/src/daemon/gnuserv.c @@ -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]); |