public inbox for gnats-prs@sourceware.org
help / color / mirror / Atom feed
From: Lars.Henriksen@netman.dk
To: pdm-gnats@zamazal.org,gnats-prs@gnu.org,bug-gnats@gnu.org
Subject: gnats/363: gnatsd access control by host name fails
Date: Sun, 24 Mar 2002 07:28:00 -0000	[thread overview]
Message-ID: <E16p9ry-00070K-00@fencepost.gnu.org> (raw)

>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


                 reply	other threads:[~2002-03-24 15:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E16p9ry-00070K-00@fencepost.gnu.org \
    --to=lars.henriksen@netman.dk \
    --cc=bug-gnats@gnu.org \
    --cc=gnats-prs@gnu.org \
    --cc=pdm-gnats@zamazal.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).