public inbox for gnats-prs@sourceware.org
help / color / mirror / Atom feed
* gnats/363: gnatsd access control by host name fails
@ 2002-03-24  7:28 Lars.Henriksen
  0 siblings, 0 replies; only message in thread
From: Lars.Henriksen @ 2002-03-24  7:28 UTC (permalink / raw)
  To: pdm-gnats, gnats-prs, bug-gnats

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

_______________________________________________
Gnats-prs mailing list
Gnats-prs@gnu.org
http://mail.gnu.org/mailman/listinfo/gnats-prs


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-03-24 15:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-24  7:28 gnats/363: gnatsd access control by host name fails Lars.Henriksen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).