Subject: pkg/16683: [net/bind8] libbind has a small bug (may crash)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <iseki@gongon.com>
List: netbsd-bugs
Date: 05/05/2002 19:29:39
>Number: 16683
>Category: pkg
>Synopsis: [net/bind8] libbind has a small bug (may crash)
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun May 05 19:30:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Isao SEKI
>Release: Using only pkg on Mac OS X/Darwin
>Organization:
gongon.com
>Environment:
>Description:
When getaddrinfo() is called 2nd time from same task, it will crash.
I also repoprted to isc.org directlly and I believe it will fixed in
8.3.2 release.
>How-To-Repeat:
The bug is reproduced NetBSD's telnet with libbind of BIND version
8.3.1.
>Fix:
src/lib/irs/getaddrinfo.c:323
- struct addrinfo ai, ai0, *afai;
+ struct addrinfo ai, ai0, *afai = 0; /* fine work */
>Release-Note:
>Audit-Trail:
>Unformatted: