This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/13166] New: getnameinfo() returns EAI_SYSTEM instead of EAI_OVERFLOW


http://sourceware.org/bugzilla/show_bug.cgi?id=13166

             Bug #: 13166
           Summary: getnameinfo() returns EAI_SYSTEM instead of
                    EAI_OVERFLOW
           Product: glibc
           Version: 2.13
            Status: NEW
          Severity: minor
          Priority: P2
         Component: libc
        AssignedTo: drepper.fsp@gmail.com
        ReportedBy: bernat@luffy.cx
    Classification: Unclassified


Created attachment 5923
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5923
Testcase where getnameinfo returns EAI_SYSTEM instead of EAI_OVERFLOW.

The manual page of getnameinfo() says that EAI_OVERFLOW is returned when "the
buffer pointed to by host or serv was too small". In some case, it returns
EAI_SYSTEM with errno set to E_NOSPC. Attached is an example.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]