From: Azat Khuzhin Date: Tue, 18 Aug 2015 18:30:48 +0000 (+0300) Subject: test/regress_http: initialize "dns_base" to avoid reading trash X-Git-Tag: release-2.1.6-beta~90^2~68 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9f0bff3f68e3e2067224b99b2755ad6394ab3140;p=libevent test/regress_http: initialize "dns_base" to avoid reading trash Even though it is very unlikely, but it will better to fix this. --- diff --git a/test/regress_http.c b/test/regress_http.c index 4a025c3c..21bf8152 100644 --- a/test/regress_http.c +++ b/test/regress_http.c @@ -3459,7 +3459,7 @@ http_connection_retry_conn_address_test(void *arg) { struct basic_test_data *data = arg; ev_uint16_t portnum = 0; - struct evdns_base *dns_base; + struct evdns_base *dns_base = NULL; char address[64]; tt_assert(regress_dnsserver(data->base, &portnum, search_table));