From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,5747331edea7cbab X-Google-Attributes: gid1164f8,public X-Google-Thread: 102b75,85404311f8041f7a X-Google-Attributes: gid102b75,public X-Google-ArrivalTime: 2001-07-18 10:08:06 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!195.54.122.107!newsfeed1.bredband.com!bredband!newsfeed1.telenordia.se!algonet!newsfeed1.funet.fi!newsfeeds.funet.fi!newsfeed.uninet.ee!news.ut.ee!not-for-mail From: Sander Vesik Newsgroups: comp.sys.dec,comp.arch Subject: Re: using memory beyond the "top" of stack Date: Wed, 18 Jul 2001 17:00:31 +0000 (UTC) Message-ID: <995475636.726401@haldjas.folklore.ee> References: <994616870.688233@haldjas.folklore.ee> <995458767.205555@haldjas.folklore.ee> <9j45pg$7qe$1@sunnews.cern.ch> <995470891.294985@haldjas.folklore.ee> <9j4cj1$2cs$1@news.ox.ac.uk> NNTP-Posting-Host: haldjas.folklore.ee X-Trace: kadri.ut.ee 995475631 4714 193.40.6.121 (18 Jul 2001 17:00:31 GMT) X-Complaints-To: usenet@kadri.ut.ee NNTP-Posting-Date: Wed, 18 Jul 2001 17:00:31 +0000 (UTC) User-Agent: tin/pre-1.4-19990413 ("Endemoniada") (UNIX) (FreeBSD/4.3-RELEASE (i386)) Cache-Post-Path: haldjas.folklore.ee!unknown@localhost X-Cache: nntpcache 2.3.2 (see http://www.nntpcache.org/) Xref: archiver1.google.com comp.sys.dec:5983 comp.arch:14261 In comp.arch Philip Armstrong wrote: > As far as I'm aware the effects of invoking a null pointer are > undefined as specified in the C standard. Failing to segfault on > printf(NULL); and then printing (null) for the following line is > therefore as standards compliant as segfaulting under this > interpretation. > I'm happy to be convinced otherwise however, though perhaps somewhere > else ( comp.lang.c ? ) I really don't care for a discussion of this, esp. not on comp.lang.c - it's just (and not the only thing at that) that I have seen programs originating from linux assume about strings and NULL. > Phil > -- > nosig -- Sander FLW: "I can banish that demon"