From owner-freebsd-bugs Thu Mar 23 17:10:02 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id RAA03004 for bugs-outgoing; Thu, 23 Mar 1995 17:10:02 -0800 Received: (from gnats@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id RAA02997; Thu, 23 Mar 1995 17:10:01 -0800 Date: Thu, 23 Mar 1995 17:10:01 -0800 Message-Id: <199503240110.RAA02997@freefall.cdrom.com> From: "Jan (Charly) Conrad" Reply-To: "Jan (Charly) Conrad" To: freebsd-bugs Subject: bin/271: getty In-Reply-To: Your message of Thu, 23 Mar 1995 23:25:30 +0100 <199503232225.AA00320@fssrv.fachschaften.tu-muenchen.de> Sender: bugs-owner@FreeBSD.org Precedence: bulk >Number: 271 >Category: bin >Synopsis: getty truncates hostname >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs (FreeBSD bugs mailing list) >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 23 17:10:01 1995 >Originator: Jan Conrad >Organization: Technische Universitaet Muenchen (Germany) >Release: FreeBSD 2.0-RELEASE i386 >Environment: System which hostname is longer than 32 chars >Description: getty truncates hostname after the 32th char (because it still thinks MAXHOSTNAMELEN = 32) >How-To-Repeat: hostname ; kill -1 1; look at login... >Fix: Apply the following patch to subr.c in /usr/src/libexec/getty: 49a50 > #include 306c307 < char editedhost[32]; --- > char editedhost[MAXHOSTNAMELEN]; >Audit-Trail: >Unformatted: