portage.sync.getaddrinfo_validate module

portage.sync.getaddrinfo_validate.getaddrinfo_validate(addrinfos)

Validate structures returned from getaddrinfo(), since they may be corrupt, especially when python has IPv6 support disabled (bug #340899).