This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/13166] New: getnameinfo() returns EAI_SYSTEM instead of EAI_OVERFLOW
- From: "bernat at luffy dot cx" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Wed, 07 Sep 2011 19:25:57 +0000
- Subject: [Bug libc/13166] New: getnameinfo() returns EAI_SYSTEM instead of EAI_OVERFLOW
- Auto-submitted: auto-generated
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.