[krbdev.mit.edu #3107] AI_NUMERICSERV conflicts with "discard" getaddrinfo hack (AIX 5)

The RT System itself via RT rt-comment at krbdev.mit.edu
Mon Jun 27 14:47:45 EDT 2005


>From krb5-bugs-incoming-bounces at 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 at 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 at 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 at mit.edu>; Mon, 27 Jun 2005 14:11:29 -0400 (EDT)
Received: (from donn at localhost)j5RIBSdU069394;
	Mon, 27 Jun 2005 11:11:28 -0700
Date: Mon, 27 Jun 2005 11:11:28 -0700
Message-Id: <200506271811.j5RIBSdU069394 at melville.u.washington.edu>
To: krb5-bugs at mit.edu
From: donn at 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 at mailman.mit.edu
X-Mailman-Version: 2.1
Precedence: list
Reply-To: donn at u.washington.edu
Sender: krb5-bugs-incoming-bounces at PCH.mit.edu
Errors-To: krb5-bugs-incoming-bounces at PCH.mit.edu


>Submitter-Id:	@SUBMITTER@
>Originator:	Donn Cave
>Organization:
	University of Washington
>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
System: AIX melville 3 4 00600210C000


>Description:
	When os/locate_kdc.c uses AI_NUMERICSERV, it creates a conflict
	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.
>How-To-Repeat:
	define NUMERIC_SERVICE_BROKEN and DNS lookup on a platform that
	defines AI_NUMERICSERV.
>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.



More information about the krb5-bugs mailing list