[2448] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

pending/184:

daemon@ATHENA.MIT.EDU (george@palisad.com)
Tue Nov 12 20:54:21 1996

Resent-From: gnats@rt-11.MIT.EDU (GNATS Management)
Resent-To: gnats-admin@rt-11.MIT.EDU
Resent-Reply-To: krb5-bugs@MIT.EDU, george@palisad.com
Date: Tue, 12 Nov 96 17:53:33 PST
From: george@palisad.com
To: krb5-bugs@MIT.EDU


>Number:         184
>Category:       pending
>Synopsis:       
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin
>State:          open
>Class:          sw-bug
>Submitter-Id:   unknown
>Arrival-Date:   Tue Nov 12 20:54:00 EST 1996
>Last-Modified:
>Originator:
>Organization:
>Release:
>Environment:
>Description:
>How-To-Repeat:
>Fix:
>Audit-Trail:
>Unformatted:
OS:	    SUNOS 4.1.3_U
OS PATCHES: all security and most other patches installed
MISC:	    bind 4.9.3 installed
COMPILER:   gcc 2.7.2
VERSION:    krb5-beta7

The problem is during compilation of the RPC routines.  The file netdb.h
gets included from both the rpc include directory and the system
include directory for source files which already include <netdb.h>
(i.e. clnt_generic.c, ...).  The <netdb.h> in rpc/types.h picks up
the version of netdb.h in rpc/ and the <netdb.h> in clnt_generic.c
gets it from the system include file directory.

The fix is either to conditionally remove the

#define STRUCT_RPCENT_IN_RPC_NETDB_H

in rpc/types.h, or use

NETDB_H instead of RPC_NETDB_H for the conditional around the netdb.h
include file in the local rpc include directory (may also need to put
a real netdb.h in rpc/).


home help back first fref pref prev next nref lref last post