summaryrefslogtreecommitdiff
path: root/src/network
AgeCommit message (Expand)AuthorFilesLines
2023-02-28getservbyport_r: fix wrong result if getnameinfo fails with EAI_OVERFLOWAlexey Izbyshev1-0/+2
2023-02-28getservbyport_r: fix out-of-bounds buffer readAlexey Izbyshev1-1/+1
2023-02-28getifaddrs: fix UB via taking address of null pointer union dereferenceAlexey Izbyshev1-7/+7
2023-02-28accept4: don't fall back to accept if we got unknown flagsAlexey Izbyshev1-0/+4
2023-02-27fix potential read past end of buffer in getnameinfo host name lookupAlexey Izbyshev1-0/+1
2023-02-27dns: fix workaround for systems defaulting to ipv6-only socketsAlexey Izbyshev1-15/+16
2023-02-27dns: handle early eof in tcp fallbackAlexey Izbyshev1-1/+1
2023-02-27prevent CNAME/PTR parsing from reading data past the response endAlexey Izbyshev4-7/+7
2023-02-27fix out-of-bounds reads in __dns_parseAlexey Izbyshev1-3/+3
2023-02-12dns: prefer monotonic clock for timeoutsA. Wilcox1-1/+2
2023-02-12inet_pton: fix uninitialized memory use for IPv4-mapped IPv6 addressesAlexey Izbyshev1-0/+1
2023-02-12increase sendmsg internal buffer to support SCM_MAX_FDColin Cross1-2/+5
2022-10-20fix return value of gethostby{name[2],addr} with no result but no errorRich Felker2-2/+2
2022-10-19clean up dns_parse_callbackRich Felker1-13/+13
2022-10-19dns response handling: don't treat too many addresses as an errorRich Felker1-1/+1
2022-10-19dns response handling: ignore presence of wrong-type RRsRich Felker1-2/+8
2022-10-19dns query core: detect udp truncation at recv timeRich Felker1-4/+13
2022-10-19getaddrinfo dns lookup: use larger answer buffer to handle long CNAMEsRich Felker1-3/+5
2022-09-22dns: implement tcp fallback in __res_msend query coreRich Felker1-2/+117
2022-09-22res_send: use a temp buffer if caller's buffer is under 512 bytesRich Felker1-1/+9
2022-09-21adapt res_msend DNS query core for working with multiple socketsRich Felker1-6/+11
2022-09-20getaddrinfo: add EAI_NODATA error code to distinguish NODATA vs NxDomainRich Felker5-6/+12
2022-09-19fix error cases in gethostbyaddr_rRich Felker1-2/+3
2022-09-19remove impossible error case from gethostbyname2_rRich Felker1-1/+0
2022-09-19fix return value of gethostnbyname[2]_r on result not foundRich Felker1-1/+1
2022-09-19dns: treat names rejected by res_mkquery as nonexistent rather than errorRich Felker1-1/+1
2022-09-19res_mkquery: error out on consecutive final dots in nameRich Felker1-0/+1
2022-08-26dns: fail if ipv6 is disabled and resolv.conf has only v6 nameservesRich Felker1-0/+5
2022-08-24fix fallback when ipv6 is disabled but resolv.conf has v6 nameservesRich Felker1-1/+2
2022-08-01fix mishandling of errno in getaddrinfo AI_ADDRCONFIG logicRich Felker1-0/+2
2022-06-03ensure distinct query id for parallel A and AAAA queries in resolverRich Felker1-0/+3
2022-04-10fix incorrect parameter name in internal netlink.h RTA_OK macroOndrej Jirman1-1/+1
2020-09-03fix missing newline in herror outputRich Felker1-1/+1
2020-08-30restore h_errno ABI compatibility with ancient binariesRich Felker1-0/+4
2020-08-24report res_query failures, including nxdomain/nodata, via h_errnoRich Felker1-1/+15
2020-08-24make h_errno thread-localRich Felker1-4/+2
2020-08-05in hosts file lookups, honor first canonical name regardless of familyRich Felker1-1/+1
2020-08-04in hosts file lookups, use only first match for canonical nameRich Felker1-2/+7
2020-05-19fix return value of res_send, res_query on errors from nameserverRich Felker1-1/+1
2020-05-19fix handling of errors resolving one of paired A+AAAA queryRich Felker1-4/+7
2020-05-18set AD bit in dns queries, suppress for internal useRich Felker3-0/+3
2020-02-22use __socketcall to simplify socket()Rich Felker1-5/+5
2019-12-17hook recvmmsg up to SO_TIMESTAMP[NS] fallback for pre-time64 kernelsRich Felker2-6/+14
2019-12-17implement SO_TIMESTAMP[NS] fallback for kernels without time64 versionsRich Felker3-0/+63
2019-08-07fix regression in recvmmsg with no timeoutRich Felker1-1/+1
2019-07-31get/setsockopt: add fallback for new time64 SO_RCVTIMEO/SO_SNDTIMEORich Felker2-2/+57
2019-07-29recvmmsg: add time64 syscall support, decouple 32-bit time_tRich Felker1-0/+18
2019-03-13handle labels with 8-bit byte values in dn_skipnameRyan Fairfax1-2/+5
2019-02-20fix spurious undefined behavior in getaddrinfoRich Felker1-3/+2
2019-02-20fix invalid free of partial addrinfo list with multiple servicesRich Felker1-1/+1