bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug in getaddrinfo.c


From: eponymous alias
Subject: bug in getaddrinfo.c
Date: Sun, 26 Nov 2006 00:22:15 -0800 (PST)

The getaddrinfo.c file contains these lines within getaddrinfo():

   151    if (hints && (hints->ai_flags & ~(AI_CANONNAME|AI_PASSIVE)))
   152      /* FIXME: Support more flags. */
   153      return EAI_BADFLAGS;

followed later by:

   181        if (!(hints->ai_flags & AI_NUMERICSERV))
   182          /* FIXME: Use getservbyname_r if available. */
   183          se = getservbyname (servname, proto);

But to properly support this latter code, the earlier test must include
the AI_NUMERICSERV flag.



 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]