Boris Kolpackov brought this to my attention: libfetch uses
getaddrinfo in a non-compliant way, as it assumes that
res will be NULL when getaddrinfo fails. Even this
is true in reality right now, it's neither guaranteed by
POSIX, nor by the getaddrinfo man page. To prevent future
breakage and to be a good citizen, this patch aims
to fix this.
Details
Details
- Reviewers
bapt des - Commits
- rS288217: Fix non-POSIX-compliant use of getaddrinfo in libfetch
Build.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable