Subject: lib/32291: Error: libdes/orndkeys.c
To: None <lib-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <henning.petersen@t-online.de>
List: netbsd-bugs
Date: 12/13/2005 12:35:00
>Number:         32291
>Category:       lib
>Synopsis:       Error: libdes/orndkeys.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 13 12:35:00 +0000 2005
>Originator:     Henning Petersen
>Release:        Netbsd-current
>Organization:
>Environment:
NetBSD 3.99.14
>Description:
orndkeys.c: line 75, failure in use of sizeof;
  gethostname (hname, sizeof(hname -1));

>How-To-Repeat:

>Fix:
gethostname (hname, sizeof(hname) -1);