Referencing NULL pointers

Max Heffler @ Landmark Graphics max at jma.UUCP
Wed Jul 12 04:34:34 AEST 1989


In article <10515 at smoke.BRL.MIL>, gwyn at smoke.BRL.MIL (Doug Gwyn) writes:
> In article <19367 at paris.ics.uci.edu> T.S. Hadley <hadley at icarus.ics.uci.edu> writes:
> No, dereferencing via a null pointer is never valid in C.
> <Stuff deleted>
> "benign".  By now, recent versions of UNIX should have found and fixed
> the vast majority of such bugs.

The IBM RT PC still allows deferencing on null to be "benign".
This has caused us a fair amount of grief when porting from the RT.
-- 
Max Heffler                     uucp: ..!uunet!jma!max
Landmark Graphics Corp.         phone: (713) 579-4751
333 Cypress Run, Suite 100
Houston, Texas  77094



More information about the Comp.unix.wizards mailing list