NULL Pointer Deref Tricks?

Jim Wichelman hplabs!jww at hpfcbig.sde.hp.com
Sun Jan 28 10:31:06 AEST 1990


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 at hpfclp.hp.com



More information about the Comp.sys.sun mailing list