🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #13444

NULL Pointer Deref Tricks?

#13444
From: Jim Wichelman
Date: Sat, 27 Jan 1990 23:31
10 lines
884 bytes
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
Technical Details
Message-ID: <4506@brazos.Rice.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!uakari.primate.wisc.edu!uwm.edu!cs.utexas.edu!rice!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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