Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Nov 1999 22:44:25 -0800
From:      "David O'Brien" <obrien@freebsd.org>
To:        Kris Kennaway <kris@hub.freebsd.org>
Cc:        current@freebsd.org
Subject:   Re: Overflow in banner(1)
Message-ID:  <19991123224424.B51939@dragon.nuxi.com>
In-Reply-To: <Pine.BSF.4.21.9911232111470.75155-100000@hub.freebsd.org>; from kris@hub.freebsd.org on Tue, Nov 23, 1999 at 09:15:35PM -0800
References:  <Pine.BSF.4.21.9911232111470.75155-100000@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 23, 1999 at 09:15:35PM -0800, Kris Kennaway wrote:
> -		(void)fgets(message, sizeof(message), stdin);
> +		(void)fgets(message, MAXMSG, stdin);

There is nothing wrong with the original line here.  Please don't change
things that are fine just to change them.  We don't want to ofuscate the fix.

-- 
-- David    (obrien@NUXI.com)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991123224424.B51939>