gnats-prs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnats/363: gnatsd access control by host name fails


From: Lars . Henriksen
Subject: gnats/363: gnatsd access control by host name fails
Date: Sun, 24 Mar 2002 10:25:18 -0500

>Number:         363
>Category:       gnats
>Synopsis:       gnatsd access control by host name fails
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 24 10:25:17 -0500 2002
>Originator:     Lars Henriksen
>Release:        <= 4.0-beta1
>Organization:

>Environment:
Alpha, OSF 5.1
>Description:
The host access file (gnatsd.host_access in Gnats 4) allows hosts to be 
specified by name or IP address.

However, on Alpha machines (at least) host names cannot be used because of a 
bug in getname() in gnatsd.c:

hp = gethostbyaddr ((char *) host, sizeof (host), AF_INET);

should be

hp = gethostbyaddr ((char *) host, sizeof (*host), AF_INET);
>How-To-Repeat:

>Fix:
See description.
>Unformatted:
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]