home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / sys5 / r4 / 440 < prev    next >
Encoding:
Internet Message Format  |  1992-11-06  |  1.6 KB

  1. Path: sparky!uunet!auspex-gw!guy
  2. From: guy@Auspex.COM (Guy Harris)
  3. Newsgroups: comp.unix.sys5.r4
  4. Subject: Re: method for detecting NULL pointer dereferences (incl. source)
  5. Message-ID: <15362@auspex-gw.auspex.com>
  6. Date: 5 Nov 92 23:47:44 GMT
  7. References: <1992Oct13.085006.110429@ilx018.intel.com> <ckl.719753912@uwdesk> <PINKAS.92Oct23151837@skywalker.intel.com>
  8. Sender: news@auspex-gw.auspex.com
  9. Organization: Auspex Systems, Santa Clara
  10. Lines: 24
  11. Nntp-Posting-Host: auspex.auspex.com
  12.  
  13. >Where we found it, we fixed it, but we discovered too many instances of it
  14. >to try and release the system in the forseeable future.  In addition, there
  15. >were hundreds of millions of lines of application code that was not clean,
  16. >and the last straw was that SVR4 was specified to run Xenix, SVR3.x, SCO,
  17. >and ISC binaries as is.  Since most (or all) of these allowed dereferencing
  18. >a NULL pointer, there was a lot of code that would break.
  19.  
  20. It might be nice to provide a "no page 0" option in the OS, to turn that
  21. behavior off for the benefit of e.g. application developers (especially
  22. those who want to put SVR4 applications on other architectures as well;
  23. for example, Solaris 2.x will, I suspect, not give you an all-zeroes
  24. page 0 by default).
  25.  
  26. >Somebody should string up the HW designer at DEC that hardwired a 0 word at
  27. >address 0 in the VAX.
  28.  
  29. Impossible - there's no such hardware designer.  In fact, VMS doesn't
  30. map page 0 into the virtual address space.
  31.  
  32. >Someone else should string up the Unix VM writer that didn't map page
  33. >zero elsewhere. 
  34.  
  35. Yup.  After all, Sun probably won't even notice losing one vice
  36. president. :-)
  37.