Path: utzoo!attcan!uunet!portal!atari!apratt From: apratt@atari.UUCP (Allan Pratt) Newsgroups: comp.std.c Subject: Re: Invalid pointer addresses Keywords: NULL, pointer Message-ID: <1167@atari.UUCP> Date: 8 Sep 88 19:38:14 GMT References: <12088@steinmetz.ge.com> Reply-To: apratt@atari.UUCP (Allan Pratt) Distribution: na Organization: Atari (US) Corporation, Sunnyvale, California Lines: 14 In article <12088@steinmetz.ge.com> davidsen@crdos1.UUCP (bill davidsen) writes: > > I recently proofread a manual which stated that even calculating the > value of an invalid address could cause a memory fault. I suppose that a word-addressing machine could cause a memory fault when you try to put an odd address in an address register: register int *bar = (int *)1; /* address fault */ ============================================ Opinions expressed above do not necessarily -- Allan Pratt, Atari Corp. reflect those of Atari Corp. or anyone else. ...ames!atari!apratt