mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 21:10:07 +00:00
108bc4049f
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
|
||
---|---|---|
.. | ||
ftp.h | ||
inet.h | ||
nameser_compat.h | ||
nameser.h | ||
telnet.h | ||
tftp.h |