From 9f0bff3f68e3e2067224b99b2755ad6394ab3140 Mon Sep 17 00:00:00 2001 From: Azat Khuzhin Date: Tue, 18 Aug 2015 21:30:48 +0300 Subject: [PATCH] test/regress_http: initialize "dns_base" to avoid reading trash Even though it is very unlikely, but it will better to fix this. --- test/regress_http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.40.0