Date: Sat, 28 Sep 1996 09:01:09 -0700 From: David Greenman <dg@root.com> To: guido@gvr.win.tue.nl (Guido van Rooij) Cc: dyson@FreeBSD.org, FreeBSD-hackers@FreeBSD.org Subject: Re: stack Message-ID: <199609281601.JAA02187@root.com> In-Reply-To: Your message of "Sat, 28 Sep 1996 17:52:49 %2B0200." <199609281552.RAA05940@gvr.win.tue.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
>I used exactly this program: >main() { > char buf[1000]; > > write(1, buf, 1000); >} > >The resulting file did not conatin only zero's. I think this is weird. You might think it's weird, but it is not a bug or even unexpected. Stack space is not guaranteed to be initialized to any particular value. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609281601.JAA02187>