Date: Sat, 14 Nov 1998 00:41:53 -0800 (PST) From: tah@d1.dion.ne.jp To: freebsd-gnats-submit@FreeBSD.ORG Subject: bin/8680: buffer is small at command wall, rwall. Message-ID: <199811140841.AAA25210@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811140841.AAA25210>
