configure_forward(). [RT 18800]
-2477 [bug] dig: the global option to print the command line is
+2478. [bug] 'addresses' could be used uninitalized in
+ configure_forward(). [RT 18800]
+
+2477. [bug] dig: the global option to print the command line is
+cmd not print_cmd. Update the output to reflect
this. [RT #17008]
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: server.c,v 1.517 2008/09/27 23:35:31 jinmei Exp $ */
+/* $Id: server.c,v 1.518 2008/10/28 05:17:40 marka Exp $ */
/*! \file */
isc_result_t result;
in_port_t port;
+ ISC_LIST_INIT(addresses);
+
/*
* Determine which port to send forwarded requests to.
*/
if (forwarders != NULL)
faddresses = cfg_tuple_get(forwarders, "addresses");
- ISC_LIST_INIT(addresses);
-
for (element = cfg_list_first(faddresses);
element != NULL;
element = cfg_list_next(element))