public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/28934] New: getaddrinfo: gethosts should return EAI_MEMORY on allocation failure
@ 2022-03-02  6:47 siddhesh at sourceware dot org
  2022-03-02  6:48 ` [Bug libc/28934] " siddhesh at sourceware dot org
  0 siblings, 1 reply; 2+ messages in thread
From: siddhesh at sourceware dot org @ 2022-03-02  6:47 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 28934
           Summary: getaddrinfo: gethosts should return EAI_MEMORY on
                    allocation failure
           Product: glibc
           Version: 2.35
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: siddhesh at sourceware dot org
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

The gethosts macro incorrectly returns EAI_SYSTEM when it fails to duplicate
the canonical name string or when it fails to allocate memory for
gaih_addrtuple.  It should return EAI_MEMORY instead.

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

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

* [Bug libc/28934] getaddrinfo: gethosts should return EAI_MEMORY on allocation failure
  2022-03-02  6:47 [Bug libc/28934] New: getaddrinfo: gethosts should return EAI_MEMORY on allocation failure siddhesh at sourceware dot org
@ 2022-03-02  6:48 ` siddhesh at sourceware dot org
  0 siblings, 0 replies; 2+ messages in thread
From: siddhesh at sourceware dot org @ 2022-03-02  6:48 UTC (permalink / raw)
  To: glibc-bugs

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

Siddhesh Poyarekar <siddhesh at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
              Flags|                            |security-
           Assignee|unassigned at sourceware dot org   |siddhesh at sourceware dot org

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

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

end of thread, other threads:[~2022-03-02  6:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-02  6:47 [Bug libc/28934] New: getaddrinfo: gethosts should return EAI_MEMORY on allocation failure siddhesh at sourceware dot org
2022-03-02  6:48 ` [Bug libc/28934] " siddhesh at sourceware dot org

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