Date: Sat, 28 Sep 1996 18:03:38 +0200 (MET DST) From: guido@gvr.win.tue.nl (Guido van Rooij) To: dg@root.com Cc: dyson@FreeBSD.org, FreeBSD-hackers@FreeBSD.org Subject: Re: stack Message-ID: <199609281603.SAA05989@gvr.win.tue.nl> In-Reply-To: <199609281601.JAA02187@root.com> from David Greenman at "Sep 28, 96 09:01:09 am"
next in thread | previous in thread | raw e-mail | index | archive | help
David Greenman wrote: > >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. I thought this was guarantueed because when the `feature' was dropped to many programs discontinued working.. -Guido
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609281603.SAA05989>