Date: Tue, 20 Mar 2001 11:25:43 -0800 From: Chuck McManis <cmcmanis@mcmanis.com> To: John Franklin <franklin@elfie.org>, Peter Seebach <seebs@plethora.net> Cc: tech-kern@netbsd.org, bsd hackers <freebsd-hackers@freebsd.org> Subject: Re: Question regarding the array of size 0. Message-ID: <20010320192720.D11EF37B71B@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <franklin@elfie.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010320192720.D11EF37B71B>
