From owner-freebsd-current Wed Nov 24 8:53:55 1999 Delivered-To: freebsd-current@freebsd.org Received: from spirit.jaded.net (spirit.jaded.net [216.94.113.12]) by hub.freebsd.org (Postfix) with ESMTP id 54E171525E; Wed, 24 Nov 1999 08:53:29 -0800 (PST) (envelope-from dan@spirit.jaded.net) Received: (from dan@localhost) by spirit.jaded.net (8.9.3/8.9.3) id LAA01889; Wed, 24 Nov 1999 11:54:06 -0500 (EST) Date: Wed, 24 Nov 1999 11:54:05 -0500 From: Dan Moschuk To: "David O'Brien" Cc: Dan Moschuk , current@FreeBSD.ORG Subject: Re: Overflow in banner(1) Message-ID: <19991124115405.E264@spirit.jaded.net> References: <199911240747.AAA18880@harmony.village.org> <199911240758.JAA96963@zibbi.mikom.csir.co.za> <19991124071946.G49362@dragon.nuxi.com> <19991124113139.D264@spirit.jaded.net> <19991124084304.B77698@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <19991124084304.B77698@dragon.nuxi.com>; from obrien@FreeBSD.ORG on Wed, Nov 24, 1999 at 08:43:04AM -0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG | sizeof() is an operator whose value is determined at compile time. | sizeof(*buf) gives the size of what buf points to. This would be `1' if | buf were a char*, or `4' if buf were an int* [on the i386]. Ahh, so I've probably seen this concept used only on structures then. -- 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