Searched refs:hquery (Results 1 – 2 of 2) sorted by relevance
112 static int as_is_first(const struct host_query *hquery);113 static int as_is_only(const struct host_query* hquery);114 static int next_dns_lookup(struct host_query *hquery);374 static void end_hquery(struct host_query *hquery, int status) in end_hquery() argument380 if (!(hquery->hints.ai_flags & ARES_AI_NOSORT) && hquery->ai->nodes) in end_hquery()382 sentinel.ai_next = hquery->ai->nodes; in end_hquery()383 ares__sortaddrinfo(hquery->channel, &sentinel); in end_hquery()384 hquery->ai->nodes = sentinel.ai_next; in end_hquery()386 next = hquery->ai->nodes; in end_hquery()390 next->ai_socktype = hquery->hints.ai_socktype; in end_hquery()[all …]
1228 empty hquery->name could lead to invalid memory access (#367)1230 …If hquery->name is empty (=="\0"), &hquery->name[strlen(hquery->name)-1] would point to "random" p…1896 …RES_OPT_NDOTS), where it will repeat the same query over and over as the hquery->next_domain doesn…