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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Greg Hudson via RT
>From [hidden email]  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 <[hidden email]>; 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 <[hidden email]>; Mon, 27 Jun 2005 14:11:30 -0400
Received: from melville.u.washington.edu (melville.u.washington.edu
        [140.142.14.39])j5RIBSIh006755
        for <[hidden email]>; 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: <[hidden email]>
To: [hidden email]
From: [hidden email]
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: [hidden email]
X-Mailman-Version: 2.1
Precedence: list
Reply-To: [hidden email]
Sender: [hidden email]
Errors-To: [hidden email]


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

_______________________________________________
krb5-bugs mailing list
[hidden email]
https://mailman.mit.edu/mailman/listinfo/krb5-bugs