[email protected]
[Top] [All Lists]

Bug#511407: marked as forwarded (bing: segfaults on IPv6 addresses)

Subject: Bug#511407: marked as forwarded bing: segfaults on IPv6 addresses
From: Debian Bug Tracking System
Date: Mon, 12 Jan 2009 00:36:06 +0000
Your message dated Mon, 12 Jan 2009 11:34:31 +1100
with message-id <[email protected]>
has caused the   report #511407,
regarding bing: segfaults on IPv6 addresses
to be marked as having been forwarded to the upstream software
author(s) [email protected], [email protected]

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
511407: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=511407
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Subject: Fwd: Bug#511407: bing: segfaults on IPv6 addresses
From: Mark Purcell
Date: Mon, 12 Jan 2009 11:34:31 +1100
Find enclosed a patch from a Debian GNU/Linux user to support IPv6 with bing.

Thanks,
Mark


----------  Forwarded Message  ----------

Subject: Bug#511407: bing: segfaults on IPv6 addresses
Date: Sunday 11 January 2009
From: Jeremie Koenig <[email protected]>
To: [email protected]

Package: bing
Version: 1.1.3-1
Tags: patch, ipv6

Hello,

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
returned.

Thanks for maintaining bing,
 
-- 
Jeremie Koenig <[email protected]>
http://jk.fr.eu.org

-------------------------------------------------------

Attachment: bing-1.1.3.gai.diff
Description: Text Data


--- End Message ---
<Prev in Thread] Current Thread [Next in Thread>
  • Bug#511407: marked as forwarded (bing: segfaults on IPv6 addresses), Debian Bug Tracking System <=