bug-gnats
[Top][All Lists]
Advanced

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

Re: gnats/363: gnatsd access control by host name fails


From: Milan Zamazal
Subject: Re: gnats/363: gnatsd access control by host name fails
Date: 04 Aug 2002 12:10:09 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.90

>>>>> "LH" == Lars Henriksen <Lars.Henriksen@netman.dk> writes:

    LH> The host access file (gnatsd.host_access in Gnats 4) allows
    LH> hosts to be specified by name or IP address.

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

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

    LH> should be

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

I think you're right, fixed.

Thanks,

Milan Zamazal

-- 
As is typical in civilized (i.e., non-corporate) email discussions, my
remarks *follow* (not precede) their context.
                                   -- Branden Robinson in debian-legal



reply via email to

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