Bug 131505

Summary: getaddrinfo segfault
Product: [Fedora] Fedora Reporter: David Woodhouse <dwmw2>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: drepper
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.3.3-49 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-09-17 19:59:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 123268    

Description David Woodhouse 2004-09-01 19:51:15 UTC
Description of problem:

shinybook /home/dwmw2 $ telnet irc.ipv6.freenode.net
Segmentation fault

Version-Release number of selected component (if applicable):
telnet-0.17-30
glibc-2.3.3-46

Program received signal SIGSEGV, Segmentation fault.
0x07edf298 in gaih_inet () from /lib/tls/libc.so.6
(gdb) bt
#0  0x07edf298 in gaih_inet () from /lib/tls/libc.so.6
#1  0x07edfce0 in getaddrinfo () from /lib/tls/libc.so.6
#2  0x08009558 in tn (argc=0, argv=0xffffe568) at commands.c:2363

Comment 1 Ulrich Drepper 2004-09-06 08:15:47 UTC
Should now be fixed in CVS.

2004-09-06  Ulrich Drepper  <drepper>

	* sysdeps/posix/getaddrinfo.c (gaih_inet): Fix problem with
	AF_UNSPEC lookup with AI_CANONNAME of name which has only IPv6
	addresses.

revision 1.74 of sysdeps/posix/getaddrinfo.c