From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102b75,85404311f8041f7a X-Google-Attributes: gid102b75,public X-Google-Thread: 1164f8,5747331edea7cbab X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2001-07-15 06:10:33 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!newscore.univie.ac.at!aconews.univie.ac.at!news.univie.ac.at!localhost!not-for-mail From: jthorn@mach.thp.univie.ac.at (Jonathan Thornburg) Newsgroups: comp.sys.dec,comp.arch Subject: using freed and/or beyond-top-of-stack memory (was: Re: CPU failure in an SMP system (was Re: Compaq kills Alpha)) Date: 15 Jul 2001 15:10:31 +0200 Organization: Max-Planck-Institut fuer Gravitationsphysik (Albert-Einstein-Institut), Golm, Germany Message-ID: <9is4o7$pt0$1@mach.thp.univie.ac.at> References: <994616870.688233@haldjas.folklore.ee> NNTP-Posting-Host: mach.thp.univie.ac.at X-Trace: www.univie.ac.at 995202631 178584 131.130.26.227 (15 Jul 2001 13:10:31 GMT) X-Complaints-To: news-adm@news.univie.ac.at NNTP-Posting-Date: 15 Jul 2001 13:10:31 GMT Summary: it's ++ungood Xref: archiver1.google.com comp.sys.dec:5850 comp.arch:14011 In an article whose nested quoting has overflowed my mental stack, someone wrote > there is a lot of C code that depends on the stack or heap containing > the correct data even after it has been released. Its bad enough that the > code does that, but I've had enough experience dealing with the folk who > have done this to know that they consider this to be acceptable, and they > expect it to work, logic to the contrary. In article <3B517D2D.2E0F8142@hda.hydro.com>, Terje Mathisen wrote: >This is _not_ a valid reason to allow such code to keep working. > >IMNSHO code like that should be 'terminated with extreme prejudice', and >the perpetrators forced to write at least one working Dos program, where >the application stack is also the hw interrupt stack. Not to mention SPARC, where register-window over/underflow trap handlers can (and actually do!) clobber memory beyond the top of the stack at unpredictable times. I'm not sure if this is true for user code too, or just for kernel, though... -- -- Jonathan Thornburg Max-Planck-Institut fuer Gravitationsphysik (Albert-Einstein-Institut), Golm, Germany http://www.aei.mpg.de/~jthorn/home.html "If English was good enough for Jesus, it's good enough for the schoolchildren of Texas." -- Texas governor James Ferguson, 1917, explaining why he vetoed a bill funding the teaching of foreign languages in Texas schools.