The answer to “NULL pointer dereference bug” is more commonly “look higher in th...

@pwithnall@mastodon.social

The answer to “NULL pointer dereference bug” is more commonly “look higher in the stack to work out where the NULL is coming from because you didn’t expect it there at all” rather than “add a NULL pointer check at the point of use”.