From krb5-bugs-incoming-bounces@PCH.mit.edu Mon Jun 27 14:47:38 2005
Received: from pch.mit.edu (PCH.MIT.EDU [18.7.21.90]) by krbdev.mit.edu (8.9.3p2) with ESMTP
id OAA21246; Mon, 27 Jun 2005 14:47:38 -0400 (EDT)
Received: from pch.mit.edu (pch.mit.edu [127.0.0.1])
by pch.mit.edu (8.12.8p2/8.12.8) with ESMTP id j5RIl2Wn031251
for <krb5-send-pr@krbdev.mit.edu>; Mon, 27 Jun 2005 14:47:02 -0400
Received: from fort-point-station.mit.edu (FORT-POINT-STATION.MIT.EDU
[18.7.7.76])
by pch.mit.edu (8.12.8p2/8.12.8) with ESMTP id j5RIBUWn024790
for <krb5-bugs-incoming@PCH.mit.edu>; Mon, 27 Jun 2005 14:11:30 -0400
Received: from melville.u.washington.edu (melville.u.washington.edu
[140.142.14.39])j5RIBSIh006755
for <krb5-bugs@mit.edu>; Mon, 27 Jun 2005 14:11:29 -0400 (EDT)
Received: (from donn@localhost)j5RIBSdU069394;
Mon, 27 Jun 2005 11:11:28 -0700
Date: Mon, 27 Jun 2005 11:11:28 -0700
Message-Id: <200506271811.j5RIBSdU069394@melville.u.washington.edu>
To: krb5-bugs@mit.edu
From: donn@u.washington.edu
X-send-pr-version: 3.99
X-Spam-Score: -1.366
X-Spam-Flag: NO
X-Scanned-By: MIMEDefang 2.42
X-Mailman-Approved-At: Mon, 27 Jun 2005 14:47:01 -0400
X-BeenThere: krb5-bugs-incoming@mailman.mit.edu
X-Mailman-Version: 2.1
Precedence: list
Reply-To: donn@u.washington.edu
Sender: krb5-bugs-incoming-bounces@PCH.mit.edu
Errors-To: krb5-bugs-incoming-bounces@PCH.mit.edu
System: AIX melville 3 4 00600210C000
with the NUMERIC_SERVICE_BROKEN hack that replaces the numeric
service with "discard". This happens on AIX 5.2, which defines
AI_NUMERICSERV and rejects "discard" with that flag set. I was
hoping #3083 was about this, but current snapshot still has the
code.
defines AI_NUMERICSERV.
hack. I don't know if NUMERIC_SERVICE_BROKEN applies to current
patch levels of any AIX release, couldn't duplicate it. Service
lookup never made any sense to me to start with, though. A null
pointer works instead of "discard", too.
Received: from pch.mit.edu (PCH.MIT.EDU [18.7.21.90]) by krbdev.mit.edu (8.9.3p2) with ESMTP
id OAA21246; Mon, 27 Jun 2005 14:47:38 -0400 (EDT)
Received: from pch.mit.edu (pch.mit.edu [127.0.0.1])
by pch.mit.edu (8.12.8p2/8.12.8) with ESMTP id j5RIl2Wn031251
for <krb5-send-pr@krbdev.mit.edu>; Mon, 27 Jun 2005 14:47:02 -0400
Received: from fort-point-station.mit.edu (FORT-POINT-STATION.MIT.EDU
[18.7.7.76])
by pch.mit.edu (8.12.8p2/8.12.8) with ESMTP id j5RIBUWn024790
for <krb5-bugs-incoming@PCH.mit.edu>; Mon, 27 Jun 2005 14:11:30 -0400
Received: from melville.u.washington.edu (melville.u.washington.edu
[140.142.14.39])j5RIBSIh006755
for <krb5-bugs@mit.edu>; Mon, 27 Jun 2005 14:11:29 -0400 (EDT)
Received: (from donn@localhost)j5RIBSdU069394;
Mon, 27 Jun 2005 11:11:28 -0700
Date: Mon, 27 Jun 2005 11:11:28 -0700
Message-Id: <200506271811.j5RIBSdU069394@melville.u.washington.edu>
To: krb5-bugs@mit.edu
From: donn@u.washington.edu
X-send-pr-version: 3.99
X-Spam-Score: -1.366
X-Spam-Flag: NO
X-Scanned-By: MIMEDefang 2.42
X-Mailman-Approved-At: Mon, 27 Jun 2005 14:47:01 -0400
X-BeenThere: krb5-bugs-incoming@mailman.mit.edu
X-Mailman-Version: 2.1
Precedence: list
Reply-To: donn@u.washington.edu
Sender: krb5-bugs-incoming-bounces@PCH.mit.edu
Errors-To: krb5-bugs-incoming-bounces@PCH.mit.edu
Show quoted text
>Submitter-Id: @SUBMITTER@
>Originator: Donn Cave
>Organization:
University of Washington>Originator: Donn Cave
>Organization:
Show quoted text
>Confidential: no
>Synopsis: AI_NUMERICSERV conflicts with "discard" getaddrinfo hack (AIX 5)
>Severity: serious
>Priority: medium
>Category: krb5-libs
>Class: sw-bug
>Release: krb5-1.4.1
>Environment:
AIX 5.2, cc>Synopsis: AI_NUMERICSERV conflicts with "discard" getaddrinfo hack (AIX 5)
>Severity: serious
>Priority: medium
>Category: krb5-libs
>Class: sw-bug
>Release: krb5-1.4.1
>Environment:
System: AIX melville 3 4 00600210C000
Show quoted text
>Description:
When os/locate_kdc.c uses AI_NUMERICSERV, it creates a conflictwith the NUMERIC_SERVICE_BROKEN hack that replaces the numeric
service with "discard". This happens on AIX 5.2, which defines
AI_NUMERICSERV and rejects "discard" with that flag set. I was
hoping #3083 was about this, but current snapshot still has the
code.
Show quoted text
>How-To-Repeat:
define NUMERIC_SERVICE_BROKEN and DNS lookup on a platform thatdefines AI_NUMERICSERV.
Show quoted text
>Fix:
I added a test for flags & AI_NUMERICSERV before the "discard"hack. I don't know if NUMERIC_SERVICE_BROKEN applies to current
patch levels of any AIX release, couldn't duplicate it. Service
lookup never made any sense to me to start with, though. A null
pointer works instead of "discard", too.