Home
last modified time | relevance | path

Searched refs:rr_len (Results 1 – 12 of 12) sorted by relevance

/third_party/node/deps/cares/src/lib/
Dares_parse_uri_reply.c48 int status, rr_type, rr_class, rr_len, rr_ttl; in ares_parse_uri_reply() local
105 rr_len = DNS_RR_LEN (aptr); in ares_parse_uri_reply()
108 if (aptr + rr_len > abuf + alen) in ares_parse_uri_reply()
118 if (rr_len < 5) in ares_parse_uri_reply()
145 uri_curr->uri = (char *)ares_malloc(rr_len-3); in ares_parse_uri_reply()
151 uri_curr->uri = strncpy(uri_curr->uri, (const char *)vptr, rr_len-4); in ares_parse_uri_reply()
152 uri_curr->uri[rr_len-4]='\0'; in ares_parse_uri_reply()
164 aptr += rr_len; in ares_parse_uri_reply()
Dares_parse_caa_reply.c47 int status, rr_type, rr_class, rr_len; in ares_parse_caa_reply() local
99 rr_len = DNS_RR_LEN (aptr); in ares_parse_caa_reply()
101 if (aptr + rr_len > abuf + alen) in ares_parse_caa_reply()
128 if (rr_len < 2) in ares_parse_caa_reply()
135 if (caa_curr->plength <= 0 || (int)caa_curr->plength >= rr_len - 2) in ares_parse_caa_reply()
151 caa_curr->length = rr_len - caa_curr->plength - 2; in ares_parse_caa_reply()
179 aptr += rr_len; in ares_parse_caa_reply()
Dares_parse_txt_reply.c49 int status, rr_type, rr_class, rr_len; in ares__parse_txt_reply() local
101 rr_len = DNS_RR_LEN (aptr); in ares__parse_txt_reply()
103 if (aptr + rr_len > abuf + alen) in ares__parse_txt_reply()
121 while (strptr < (aptr + rr_len)) in ares__parse_txt_reply()
124 if (strptr + substr_len + 1 > aptr + rr_len) in ares__parse_txt_reply()
179 aptr += rr_len; in ares__parse_txt_reply()
Dares_parse_mx_reply.c43 int status, rr_type, rr_class, rr_len; in ares_parse_mx_reply() local
95 rr_len = DNS_RR_LEN (aptr); in ares_parse_mx_reply()
97 if (aptr + rr_len > abuf + alen) in ares_parse_mx_reply()
107 if (rr_len < 2) in ares_parse_mx_reply()
144 aptr += rr_len; in ares_parse_mx_reply()
Dares_parse_srv_reply.c43 int status, rr_type, rr_class, rr_len; in ares_parse_srv_reply() local
95 rr_len = DNS_RR_LEN (aptr); in ares_parse_srv_reply()
97 if (aptr + rr_len > abuf + alen) in ares_parse_srv_reply()
107 if (rr_len < 6) in ares_parse_srv_reply()
148 aptr += rr_len; in ares_parse_srv_reply()
Dares__parse_into_addrinfo.c48 int status, i, rr_type, rr_class, rr_len, rr_ttl; in ares__parse_into_addrinfo() local
102 rr_len = DNS_RR_LEN(aptr); in ares__parse_into_addrinfo()
105 if (aptr + rr_len > abuf + alen) in ares__parse_into_addrinfo()
112 && rr_len == sizeof(struct in_addr) in ares__parse_into_addrinfo()
127 && rr_len == sizeof(struct ares_in6_addr) in ares__parse_into_addrinfo()
176 aptr += rr_len; in ares__parse_into_addrinfo()
Dares_parse_naptr_reply.c43 int status, rr_type, rr_class, rr_len; in ares_parse_naptr_reply() local
95 rr_len = DNS_RR_LEN (aptr); in ares_parse_naptr_reply()
97 if (aptr + rr_len > abuf + alen) in ares_parse_naptr_reply()
109 if (rr_len < 7) in ares_parse_naptr_reply()
163 aptr += rr_len; in ares_parse_naptr_reply()
Dares_parse_ns_reply.c43 int status, i, rr_type, rr_class, rr_len; in ares_parse_ns_reply() local
100 rr_len = DNS_RR_LEN( aptr ); in ares_parse_ns_reply()
102 if (aptr + rr_len > abuf + alen) in ares_parse_ns_reply()
137 aptr += rr_len; in ares_parse_ns_reply()
Dares_parse_soa_reply.c46 int status, i, rr_type, rr_class, rr_len; in ares_parse_soa_reply() local
102 rr_len = DNS_RR_LEN( aptr ); in ares_parse_soa_reply()
104 if (aptr + rr_len > abuf + alen) in ares_parse_soa_reply()
160 aptr += rr_len; in ares_parse_soa_reply()
Dares_parse_ptr_reply.c41 int status, i, rr_type, rr_class, rr_len; in ares_parse_ptr_reply() local
99 rr_len = DNS_RR_LEN(aptr); in ares_parse_ptr_reply()
101 if (aptr + rr_len > abuf + alen) in ares_parse_ptr_reply()
160 aptr += rr_len; in ares_parse_ptr_reply()
/third_party/node/src/
Dcares_wrap.cc560 const int rr_len = cares_get_16bit(ptr + 8); in ParseSoaReply() local
630 ptr += rr_len; in ParseSoaReply()
/third_party/node/deps/cares/
DCHANGES1839 records; for A records, the `rr_len > 7` check will fail as there