NetBSD Problem Report #266
From gnats Fri May 27 05:39:57 1994
Received: from wipux2.wifo.uni-mannheim.de (wipux2.wifo.uni-mannheim.de [134.155.59.2]) by sun-lamp.cs.berkeley.edu (8.6.9/8.6.9) with ESMTP id FAA08429 for <[email protected]>; Fri, 27 May 1994 05:39:44 -0700
Message-Id: <[email protected]>
Date: Fri, 27 May 1994 14:48:19 +0200
From: [email protected] (Andrew Wheadon)
Reply-To: [email protected]
To: [email protected]
Subject: skeyinit fails with long hostnames.
X-Send-Pr-Version: 3.2
>Number: 266
>Category: bin
>Synopsis: skeyinit.c faulty.
>Confidential: no
>Severity: critical
>Priority: low
>Responsible: gnats-admin
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri May 27 05:50:03 +0000 1994
>Closed-Date: Sun May 29 23:40:19 +0000 1994
>Last-Modified:
>Originator: Andrew Wheadon
>Release:
>Organization:
Uni Mannheim
>Environment:
486/66dx2, NetBSD-current, everything compiled today 27.5
System: NetBSD wipux2 0.9B NetBSD 0.9B (WIPUX) #0: Fri May 27 12:04:34 MET DST 1994 [email protected]:/src/src/sys/arch/i386/compile/WIPUX i386
>Description:
skeyinit fails in line 46 of skeyinit.c
if (gethostname(defaultseed,sizeof(defaultseed)) < 0)
exit(-1)
due to the usual hostname being longer than 17 chars. (defaultseed[17]);
(mine is 28 yours is 25 chars long)
>How-To-Repeat:
hostname set.average.length.hostname
skeyinit
(no output)
>Fix:
hostname short.name
or
change code to use first 17 chars of hostname
or (maybe)
set defaultseed to 255 chars.
or
...
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: jtc
State-Changed-When: Sun May 29 23:40:19 1994
State-Changed-Why:
Fixed by Theo.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.