4 ms·
> Dereferencing a null pointer in C++ doesn’t reliably crash anymore Anymore? I would say the opposite: these days it tends to crash more reliably if anything,
by AshamedCaptain 4y ago
> Dereferencing a null pointer in C++ doesn’t reliably crash anymore
Anymore? I would say the opposite: these days it tends to crash more reliably if anything, as the size of the redzones increases. Even on Windows 9x 0 was a perfectly valid address.
- sumtechguy 4y ago0 is usually a 'valid' address. What is at that addr though can have some interesting bits that may or may not contain valid instructions/data. Now on some processors you can lock it out so it seg faults if you access it though.