Function `named_config_getipandkeylist` could, in case of error in the
early code attempting to get the `port` or `tls-port`, make a pointer
check on a non-initialized value. This is now fixed.
isc_result_t result;
in_port_t def_port;
in_port_t def_tlsport;
+ getipandkeylist_state_t s = {};
REQUIRE(ipkl != NULL);
REQUIRE(ipkl->count == 0);
/*
* Process the (nested) list(s).
*/
- getipandkeylist_state_t s = {};
result = getipandkeylist(def_port, def_tlsport, config, list,
(in_port_t)0, NULL, NULL, mctx, &s);
if (result != ISC_R_SUCCESS) {