Date: Wed, 24 Nov 1999 11:31:39 -0500 From: Dan Moschuk <dan@FreeBSD.ORG> To: "David O'Brien" <obrien@NUXI.com> Cc: John Hay <jhay@mikom.csir.co.za>, current@FreeBSD.ORG Subject: Re: Overflow in banner(1) Message-ID: <19991124113139.D264@spirit.jaded.net> In-Reply-To: <19991124071946.G49362@dragon.nuxi.com>; from obrien@NUXI.com on Wed, Nov 24, 1999 at 07:19:46AM -0800 References: <199911240747.AAA18880@harmony.village.org> <199911240758.JAA96963@zibbi.mikom.csir.co.za> <19991124071946.G49362@dragon.nuxi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
| Now rather than try to call us stupid, Kris (and only Kris) could say, | "well, I've decided to go with a dynamically allocated buffer, so of | course I can't use sizeof() any more". I've never done this myself, but I've always been under the impression that sizeof(*buf) would work for dynamically allocated buffers. -- Dan Moschuk (TFreak!dan@freebsd.org) "Cure for global warming: One giant heatsink and dual fans!" 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?19991124113139.D264>