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-08-25 12:25:13 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!news.kolumbus.fi!harri From: harri@haataja.net (Harri Haataja) Newsgroups: comp.sys.dec,comp.arch Subject: Re: using memory beyond the "top" of stack Followup-To: comp.arch Date: 25 Aug 2001 19:25:12 GMT Organization: Kolumbus Internet Services Customer Message-ID: 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> <995475636.726401@haldjas.folklore.ee> NNTP-Posting-Host: a166d14hel.dial.kolumbus.fi User-Agent: slrn/0.9.7.0 (Linux) Xref: archiver1.google.com comp.sys.dec:6683 comp.arch:15706 Sander Vesik wrote: > 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. Linux-bashing (mostly ridiculous such) seems to be hip today and terms like "linux software" (which means zilc unless you're talking kernel-connected software[1]) are often seen where they should not be. This makes many non-anti-linux types always wonder if there's any truth in such. (Mostly not, but certainly sometimes.) [1] Just in case: Linux is just the kernel.