public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug network/16071] New: Segmentation fault in getaddrinfo() when processing entry mapping to long list of AF_INET address structures
@ 2013-10-22  5:27 siddhesh at redhat dot com
  2013-10-22  6:46 ` [Bug network/16071] " siddhesh at redhat dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: siddhesh at redhat dot com @ 2013-10-22  5:27 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 16071
           Summary: Segmentation fault in getaddrinfo() when processing
                    entry mapping to long list of AF_INET address
                    structures
           Product: glibc
           Version: 2.18
            Status: NEW
          Severity: normal
          Priority: P2
         Component: network
          Assignee: siddhesh at redhat dot com
          Reporter: siddhesh at redhat dot com

Adding a large number of IPv4 entries for a host in /etc/hosts and then
querying it results in a segmentation fault.

How reproducible:

Always

Steps to Reproduce:
  1. Create 50K '127.0.0.1 host-fubar' entries, and 50K '::1 host-fubar'
entries in '/etc/hosts'.
  2. Call getaddrinfo for 'node' = "host-fubar", no 'flags' set, and AF_INET in
'hints->ai_family'.

Actual results:

    SIGSEGV

Expected results:

    No SIGSEGV

Patch coming up.

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


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

end of thread, other threads:[~2014-06-23 10:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-22  5:27 [Bug network/16071] New: Segmentation fault in getaddrinfo() when processing entry mapping to long list of AF_INET address structures siddhesh at redhat dot com
2013-10-22  6:46 ` [Bug network/16071] " siddhesh at redhat dot com
2013-10-30 10:50 ` siddhesh at redhat dot com
2014-06-13 12:36 ` fweimer at redhat dot com
2014-06-23  8:18 ` schwab@linux-m68k.org
2014-06-23  9:48 ` siddhesh at redhat dot com
2014-06-23  9:49 ` fweimer at redhat dot com
2014-06-23 10:31 ` schwab@linux-m68k.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).