Fix msan issue

pull/7900/head
Yuchen Zeng 8 years ago
parent 7c8be1dd55
commit c1da234693
  1. 1
      src/core/ext/resolver/dns/c_ares/grpc_ares_wrapper.c

@ -128,6 +128,7 @@ static void on_done_cb(void *arg, int status, int timeouts,
sizeof(grpc_resolved_address) * (*addresses)->naddrs);
for (i = prev_naddr; i < (*addresses)->naddrs; i++) {
memset(&(*addresses)->addrs[i], 0, sizeof(grpc_resolved_address));
if (hostent->h_addrtype == AF_INET6) {
char output[INET6_ADDRSTRLEN];
gpr_log(GPR_ERROR, "AF_INET6");

Loading…
Cancel
Save