Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Oct 2001 13:02:56 -0400 (EDT)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        Mike Barcroft <mike@FreeBSD.ORG>
Cc:        freebsd-net@FreeBSD.ORG, freebsd-audit@FreeBSD.ORG
Subject:   Re: [CFR] whois(1) out-of-bound access patch
Message-ID:  <200110041702.f94H2uQ08169@khavrinen.lcs.mit.edu>
In-Reply-To: <20011004121933.B31795@coffee.q9media.com>
References:  <20011004121640.C1959@ringworld.oblivion.bg> <20011004121933.B31795@coffee.q9media.com>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Thu, 4 Oct 2001 12:19:33 -0400, Mike Barcroft <mike@FreeBSD.ORG> said:

> -		printf("%s\n", buf);
> +		printf("%.*s\n", (int)len, buf);

This is a *much* better patch.

-GAWollman


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




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