When you use C pointers, unless you're VERY SURE a pointer is null, add null pointer guards to make sure null pointers aren't dereferenced.
This is true for malloc because malloc CAN return null on error in memory allocation.
(Author: Unknown)
#C #pointer #libc #allocation
- @spotifyindia PLEASE don't put ads in calming and meditation playlists... PLEASE. Sometimes, I just want to calm myself down. :(
- So I was surfing YT on #Firefox and found this video youtube.com/watch?v=XB1Dlx… not loading. Switched to #Chrome & it magically worked. Came back to FF but for fun I changed to user-agent of Chrome, reloaded. It magically works. Anyone else? @TeamYouTube ?
- YouTube: YouTube should reinstate Omeleto Animation - Sign the Petition! chng.it/PT7wq5n4 via @ChangeOrg_India
- Hey, @TeamYouTube. Why the hell are you shutting down @omeletoanim ?? This is ridiculous you guys! Reinstate them and maybe, rewrite the algorithm, which blocks good people like them! They're REALLY GOOD. You should watch it some time.


