From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6989 invoked by alias); 12 Dec 2007 17:24:27 -0000 Received: (qmail 6932 invoked by uid 48); 12 Dec 2007 17:24:14 -0000 Date: Wed, 12 Dec 2007 17:24:00 -0000 From: "aurelien at aurel32 dot net" To: glibc-bugs@sources.redhat.com Message-ID: <20071212172414.5479.aurelien@aurel32.net> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug libc/5479] New: gethostbyname() fails on IPv6 numeric addresses X-Bugzilla-Reason: CC Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2007-12/txt/msg00061.txt.bz2 gethostbyname() is able to do IPv6 resolutions (eg. ip6-localhost), and is working on IPv4 numeric addresses by returning the address unchanged. However, it doesn't work on IPv6 numeric addresses. In that cases, it returns a NULL pointer, while I think it should return the IPv6 numeric address unchanged. -- Summary: gethostbyname() fails on IPv6 numeric addresses Product: glibc Version: unspecified Status: NEW Severity: normal Priority: P2 Component: libc AssignedTo: drepper at redhat dot com ReportedBy: aurelien at aurel32 dot net CC: glibc-bugs at sources dot redhat dot com GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://sourceware.org/bugzilla/show_bug.cgi?id=5479 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.