RE: Bug#511407: bing: segfaults on IPv6 addresses
Thanks for the patch. I'll get it included shortly.
I'll also try for inclusion in lenny as IPv6 is a release goal, however we are in very deep freeze so I can't make any promises.
Subject: Bug#511407: bing: segfaults on IPv6 addresses
From: Jeremie Koenig <firstname.lastname@example.org>
Date: 11/01/2009 02:53
Tags: patch, ipv6
Bing assumes that gethostbyname() returns IPv4 addresses.
With "options inet6" in /etc/resolv.conf, or on IPv6-only hosts, this is
no longer true and bing will segfault trying to fit a 128 bits address
in a 32 bits buffer.
The attached patch updates bing to use the modern getaddrinfo/getnameinfo
resolver interfaces, which will ensure only AF_INET addresses are
Thanks for maintaining bing,
Jeremie Koenig <email@example.com>