2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-22 10:10:06 +00:00

missing validity check for the reload case

This commit is contained in:
Tatuya JINMEI 神明達哉 2008-01-17 03:01:25 +00:00
parent 546c2bf791
commit b03bc0ce07

View File

@ -14,7 +14,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: statschannel.c,v 1.2 2008/01/17 00:15:13 jinmei Exp $ */
/* $Id: statschannel.c,v 1.3 2008/01/17 03:01:25 jinmei Exp $ */
/*! \file */
@ -375,7 +375,7 @@ update_listener(ns_server_t *server, ns_statschannel_t **listenerp,
* Now, keep the old access list unless a new one can be made.
*/
allow = cfg_tuple_get(listen_params, "allow");
if (allow != NULL) {
if (allow != NULL && cfg_obj_islist(allow)) {
result = cfg_acl_fromconfig(allow, config, ns_g_lctx,
aclconfctx, listener->mctx, 0,
&new_acl);