Actions
Bug #2783
closedgethostbyname deprecated, should use getaddrinfo
ASK QUESTIONS IN Forums:
Description
rpmlint results from https://build.opensuse.org/package/show/home:stbuehler:lighttpd-1.4.x/lighttpd:
lighttpd.x86_64: I: binary-or-shlib-calls-gethostbyname /usr/lib64/lighttpd/mod_scgi.so lighttpd.x86_64: I: binary-or-shlib-calls-gethostbyname /usr/lib64/lighttpd/mod_fastcgi.so lighttpd.x86_64: I: binary-or-shlib-calls-gethostbyname /usr/sbin/lighttpd The binary calls gethostbyname(). Please port the code to use getaddrinfo().
Updated by gstrauss almost 8 years ago
will use inet_pton(), where available, for the IPv4 hosts, too.
Updated by gstrauss almost 8 years ago
network.c will need to be updated to use getaddrinfo(), where available, for IPv4, in addition to IPv6.
mod_fastcgi.c and mod_scgi.c can use inet_pton(), where available, as they operate on IPs.
Updated by gstrauss almost 8 years ago
- Status changed from Patch Pending to Fixed
- % Done changed from 0 to 100
Applied in changeset 8981ca0467316a5d046d5c257ceea57a49333c87.
Actions
Also available in: Atom