Bug 24111 - Deprecate inet_addr, inet_aton
Summary: Deprecate inet_addr, inet_aton
Status: NEW
Alias: None
Product: glibc
Classification: Unclassified
Component: network (show other bugs)
Version: 2.30
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-21 07:34 UTC by Florian Weimer
Modified: 2019-01-21 07:34 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:
fweimer: security-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Weimer 2019-01-21 07:34:30 UTC
For historic reasons, inet_addr and inet_aton accept trailing characters; see bug 20018.  We cannot change this behavior, but it risks introducing security vulnerabilities into applications.  Applications should use inet_pton or getaddrinfo with AI_NUMERICSHOST instead.