null pointers
Posted Mar 19, 2008 17:54 UTC (Wed) by
vmole (guest, #111)
In reply to:
null pointers by quotemstr
Parent article:
Who maintains dpkg?
Once upon a time, people assumed that sizeof(int) == sizeof(_ptr_).
Once upon a time, people assumed that sizeof(int) == sizeof(long).
Once upon a time, people assumed that sizeof(int) == 2 and sizeof(long) == 4.
Once upon a time, people assumed you could dereference NULL (or 0), and its value was 0.
Once upon a time, people assumed that all the world was ASCII.
Times change, and your "safe assumptions" are not so safe anymore.
(
Log in to post comments)