Re: Bug#264775: segfaults on hostnames that only have IPv6 addresses

Andras Korn <[email protected]>
Newsgroups gmane.network.irc.bopm
Message-ID <[email protected]>
On Wed, Aug 18, 2004 at 06:35:48PM +0200, Philipp Kern wrote:

> > segfaults. Investigating the segfaults, we found that they seem to happen
> > when a user connects from a host that only has an AAAA and no A record
> > (possibly the mere existence of an AAAA record is enough to trigger the
> > bug).
> 
> You probably have to modify your IRCd to give out slightly changed
> connection notices -- which do not match upon the CONNREGEX -- when no
> IPv4 address is available.

What we did is to not pass ipv6 clients to bopm at all. Since there are not
many, this is an acceptable workaround.

However, I still think a segfault is a bug. A program shouldn't segfault
when it receives invalid data.

Best regards,

Andras

-- 
                 Andras Korn <korn at chardonnay.math.bme.hu>
                 <http://chardonnay.math.bme.hu/~korn/>	QOTD:
                 Tonight's forecast: dark, followed by light.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.