3 ms·
Null pointer derefs are easy to find and fix and : yet.
by GFK_of_xmaspast 11y ago
Null pointer derefs are easy to find and fix and : yet.
- neandrake 11y agoThis is not always the case. Null pointer derefs are just indicators that the program got into an invalid state. Is the fix to provide some alternative pathway when the program got in a bad state or is it to prevent the bad state from happening in the first place? If the fix is to prevent the bad state, tracking down how that state occurred in the first place can often be time consuming in the case of data races.