4 ms·
If what you say is true -- OK. Then would you say that the tweet posted earlier that showed the NULL pointer access was incorrect or misleading?
by pdimitar 2y ago
If what you say is true -- OK. Then would you say that the tweet posted earlier that showed the NULL pointer access was incorrect or misleading?
- cmrdporcupine 2y agoNull pointer access caused by bad data is entirely conceivable... esp when you overwrite parts of kernel memory with nulls.
- pdimitar 2y agoI see. That doesn't make it better though, and OK let's forget about other languages. I mean that the least you can do before pointer dereference is just check for several bad sentinel values, NULL being one of them. Seems like a rather amateur mistake to me.