glibc/sysdeps
Florian Weimer 66bec53f07 CVE-2016-10739: getaddrinfo: Fully parse IPv4 address strings [BZ #20018]
Some tests in original commit are not included because they depend on headers that
are not present in GRTEv5 branch.

The IPv4 address parser in the getaddrinfo function is changed so that
it does not ignore trailing whitespace and all characters after it.
For backwards compatibility, the getaddrinfo function still recognizes
legacy name syntax, such as 192.000.002.010 interpreted as 192.0.2.8
(octal).

This commit does not change the behavior of inet_addr and inet_aton.
gethostbyname already had additional sanity checks (but is switched
over to the new __inet_aton_exact function for completeness as well).

To avoid sending the problematic query names over DNS, commit
6ca53a2453 ("resolv: Do not send queries
for non-host-names in nss_dns [BZ #24112]") is needed.
2024-01-12 23:19:48 +00:00
..
aarch64 aarch64: Make elf_machine_{load_address,dynamic} robust [BZ #28203] 2021-08-27 17:26:09 -07:00
alpha
arm
generic Expose __isinff128 for clang 2023-12-29 00:19:59 +00:00
gnu Additional fixes for llvm-as 2021-08-27 17:26:04 -07:00
hppa
i386 Fix i386 memmove issue (bug 22644). 2021-08-27 16:22:08 -07:00
ia64
ieee754 -DWANT_FLOAT usage and enable float128 tests 2023-12-27 22:22:08 +00:00
init_array
m68k
mach Fix -Os gnu_dev_* linknamespace, localplt issues (bug 15105, bug 19463). 2021-11-15 14:31:46 -08:00
microblaze
mips
nios2
nptl Fix blocking pthread_join. [BZ #23137] 2021-08-27 16:22:12 -07:00
posix CVE-2016-10739: getaddrinfo: Fully parse IPv4 address strings [BZ #20018] 2024-01-12 23:19:48 +00:00
powerpc elf: Drop elf/tls-macros.h in favor of __thread and tls_model attributes [BZ #28152] [BZ #28205] 2021-08-27 17:26:09 -07:00
pthread Work around a ppc clang inlining bug 2021-08-27 17:23:12 -07:00
riscv RISC-V: fmax/fmin: Handle signalling NaNs correctly. 2021-08-27 16:22:07 -07:00
s390
sh Update SH libm-tests-ulps 2018-02-14 14:03:13 -02:00
sparc sparc: Check PIC instead of SHARED in start.S [BZ #22638] 2018-02-06 09:31:30 +00:00
tile
unix Remove x86_64 specific lowlevellock/cancellation 2022-04-27 14:01:19 -07:00
wordsize-32
wordsize-64
x86 Replace math-barriers with math_private 2023-12-29 00:36:58 +00:00
x86_64 x86_64: Add SSE sfp-exceptions 2023-12-28 23:45:34 +00:00