From owner-freebsd-bugs Sat Nov 14 00:49:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA25479 for freebsd-bugs-outgoing; Sat, 14 Nov 1998 00:49:58 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA25470 for ; Sat, 14 Nov 1998 00:49:57 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id AAA06756; Sat, 14 Nov 1998 00:50:01 -0800 (PST) Received: (from nobody@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA25210; Sat, 14 Nov 1998 00:41:53 -0800 (PST) (envelope-from nobody) Message-Id: <199811140841.AAA25210@hub.freebsd.org> Date: Sat, 14 Nov 1998 00:41:53 -0800 (PST) From: tah@d1.dion.ne.jp To: freebsd-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: www-1.0 Subject: bin/8680: buffer is small at command wall, rwall. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 8680 >Category: bin >Synopsis: buffer is small at command wall, rwall. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Nov 14 00:50:01 PST 1998 >Last-Modified: >Originator: koyama takahiro >Organization: >Release: 2.2.6-RELEASE >Environment: maybe all version. >Description: buffer is small at /usr/src/usr.bin/wall/{,r}wall.c. function makemsg contain lbuf[100] and tmpname[15]. o tmpname is used for "/tmp/" "wall.XXXXXX" or "/tmp/" "/wall.XXXXXX". (5 + 11 or 12 + NULL byte) o only at file wall.c, lbuf is used for string return from getlogin(2), getpwuid(3)->pw-name, gethostname(3). (message... + UT_NAMESIZE + '@' + MAXHOSTNAMELEN NULL byte) >How-To-Repeat: >Fix: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message