From owner-freebsd-hackers Tue Mar 20 11:27:22 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from home.mcmanis.com (adsl-209-76-108-61.dsl.snfc21.pacbell.net [209.76.108.61]) by hub.freebsd.org (Postfix) with SMTP id D11EF37B71B for ; Tue, 20 Mar 2001 11:27:20 -0800 (PST) (envelope-from cmcmanis@mcmanis.com) Received: (qmail+freegate 25784 invoked by alias); 20 Mar 2001 19:27:19 -0000 Received: from ws71-n0.hq.home.mcmanis.com (HELO hplaptop) (192.168.110.71) by hq.home.mcmanis.com with SMTP; 20 Mar 2001 19:27:19 -0000 Date: Tue, 20 Mar 2001 11:25:43 -0800 To: John Franklin , Peter Seebach Cc: tech-kern@netbsd.org, bsd hackers From: Chuck McManis Subject: Re: Question regarding the array of size 0. Organization: KillerBotz Inc X-Mailer: Opera 5.02 build 856a X-Priority: 3 (Normal) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Message-Id: <20010320192720.D11EF37B71B@hub.freebsd.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Which is an example of a buffer overrun exploit perhaps? As it has been mentioned there is "C" and there is "ANSI-C" and there is "GCC" and they are not the same language. --Chuck 3/20/01 9:21:27 AM, John Franklin wrote: >struct zero_array { > int header; > int payload[0]; >}; ... > foo.header=1; > foo.payload[0]=10; > foo.payload[1]=12; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message