This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug network/16072] New: Segmentation fault in getaddrinfo() when processing entry mapping to long list of AF_INET6 address structures
- From: "siddhesh at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 22 Oct 2013 06:45:55 +0000
- Subject: [Bug network/16072] New: Segmentation fault in getaddrinfo() when processing entry mapping to long list of AF_INET6 address structures
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=16072
Bug ID: 16072
Summary: Segmentation fault in getaddrinfo() when processing
entry mapping to long list of AF_INET6 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
Depends on: 16071
+++ This bug was initially created as a clone of Bug #16071 +++
Adding a large number of IPv6 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.