public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/13166] New: getnameinfo() returns EAI_SYSTEM instead of EAI_OVERFLOW
@ 2011-09-07 19:26 bernat at luffy dot cx
  2011-09-08  5:18 ` [Bug libc/13166] " bernat at luffy dot cx
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bernat at luffy dot cx @ 2011-09-07 19:26 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libc/13166] getnameinfo() returns EAI_SYSTEM instead of EAI_OVERFLOW
  2011-09-07 19:26 [Bug libc/13166] New: getnameinfo() returns EAI_SYSTEM instead of EAI_OVERFLOW bernat at luffy dot cx
@ 2011-09-08  5:18 ` bernat at luffy dot cx
  2011-12-22 23:59 ` drepper.fsp at gmail dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: bernat at luffy dot cx @ 2011-09-08  5:18 UTC (permalink / raw)
  To: glibc-bugs

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

Vincent Bernat <bernat at luffy dot cx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bernat at luffy dot cx

-- 
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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libc/13166] getnameinfo() returns EAI_SYSTEM instead of EAI_OVERFLOW
  2011-09-07 19:26 [Bug libc/13166] New: getnameinfo() returns EAI_SYSTEM instead of EAI_OVERFLOW bernat at luffy dot cx
  2011-09-08  5:18 ` [Bug libc/13166] " bernat at luffy dot cx
@ 2011-12-22 23:59 ` drepper.fsp at gmail dot com
  2011-12-23  0:23 ` drepper.fsp at gmail dot com
  2014-06-27 12:08 ` fweimer at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: drepper.fsp at gmail dot com @ 2011-12-22 23:59 UTC (permalink / raw)
  To: glibc-bugs

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

Ulrich Drepper <drepper.fsp at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #5923|text/x-csrc                 |text/plain
          mime type|                            |

-- 
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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libc/13166] getnameinfo() returns EAI_SYSTEM instead of EAI_OVERFLOW
  2011-09-07 19:26 [Bug libc/13166] New: getnameinfo() returns EAI_SYSTEM instead of EAI_OVERFLOW bernat at luffy dot cx
  2011-09-08  5:18 ` [Bug libc/13166] " bernat at luffy dot cx
  2011-12-22 23:59 ` drepper.fsp at gmail dot com
@ 2011-12-23  0:23 ` drepper.fsp at gmail dot com
  2014-06-27 12:08 ` fweimer at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: drepper.fsp at gmail dot com @ 2011-12-23  0:23 UTC (permalink / raw)
  To: glibc-bugs

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

Ulrich Drepper <drepper.fsp at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Ulrich Drepper <drepper.fsp at gmail dot com> 2011-12-23 00:22:42 UTC ---
I checked in a patch.

-- 
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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libc/13166] getnameinfo() returns EAI_SYSTEM instead of EAI_OVERFLOW
  2011-09-07 19:26 [Bug libc/13166] New: getnameinfo() returns EAI_SYSTEM instead of EAI_OVERFLOW bernat at luffy dot cx
                   ` (2 preceding siblings ...)
  2011-12-23  0:23 ` drepper.fsp at gmail dot com
@ 2014-06-27 12:08 ` fweimer at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: fweimer at redhat dot com @ 2014-06-27 12:08 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-06-27 12:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-07 19:26 [Bug libc/13166] New: getnameinfo() returns EAI_SYSTEM instead of EAI_OVERFLOW bernat at luffy dot cx
2011-09-08  5:18 ` [Bug libc/13166] " bernat at luffy dot cx
2011-12-22 23:59 ` drepper.fsp at gmail dot com
2011-12-23  0:23 ` drepper.fsp at gmail dot com
2014-06-27 12:08 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).