[krbdev.mit.edu #8809] Do not call getaddrinfo() with invalid hostnames

Greg Hudson via RT <[email protected]>
Newsgroups gmane.comp.encryption.kerberos.bugs
Message-ID <[email protected]>
This seems reasonable.  I did a few minutes of research to see if we'd 
be breaking any IDN scenarios, and I don't think so.  We don't pass 
AI_IDN to getaddrinfo(), so getaddrinfo won't be doing any encoding 
into ACE, and we obviously don't do our own encoding.  An application 
could, in theory, encode an IDN to ACE before importing a GSS name, but 
if it does that then hostname validation will succeed.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.