Bug 24111

Summary: Deprecate inet_addr, inet_aton
Product: glibc Reporter: Florian Weimer <fweimer>
Component: networkAssignee: Not yet assigned to anyone <unassigned>
Status: NEW ---    
Severity: normal Flags: fweimer: security-
Priority: P2    
Version: 2.30   
Target Milestone: ---   
See Also: https://sourceware.org/bugzilla/show_bug.cgi?id=20018
Host: Target:
Build: Last reconfirmed:

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.