Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!uakari.primate.wisc.edu!uwm.edu!cs.utexas.edu!rice!sun-spots-request From: hplabs!jww@hpfcbig.sde.hp.com (Jim Wichelman) Newsgroups: comp.sys.sun Subject: NULL Pointer Deref Tricks? Keywords: Miscellaneous Message-ID: <4506@brazos.Rice.edu> Date: 27 Jan 90 23:31:06 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 10 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 9, Issue 15, message 13 of 20 I am porting some software from an HP machine to a sun3 system. The code is filled with null pointer dereferences which work fine on the HP system, but die with a SIGSEGV on the sun (as you might expect). Are there any tricks to get a null pointer dereference to return a "0" on the sun3? How about a Sparcstation (my next porting project)? Jim Wichelman Hewlett Packard jww@hpfclp.hp.com