2 ms·
> If you really just want the program to continue operating on dereferencing NULL pointers you can generally convince the OS to map address 0 to something valid
by coldpie 6y ago
> If you really just want the program to continue operating on dereferencing NULL pointers you can generally convince the OS to map address 0 to something valid, therefore making the access Just Work.
Yeah yeah yeah but this ALSO fixes use-after-free bugs! Really an amazing little trick, I wonder why compilers don't just do it automatically.