提交 d4fbebe1 编写于 作者: R Rich Felker

fix uninitialized variables in dns lookup code

上级 74f75541
......@@ -31,8 +31,8 @@ int __dns_doqueries(unsigned char *dest, const char *name, int *rr, int rrcnt)
struct sockaddr_in6 sin6;
} sa = {0}, ns[3] = {{0}};
socklen_t sl;
int nns;
int family;
int nns = 0;
int family = AF_UNSPEC;
unsigned char q[280] = "", *r = dest;
int ql;
int rlen;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册