Web Development

General discussion


Detecting null pointer bugs

By debate ·
Tell us what you think about detecting null pointer bugs, as featured in this week's Embedded Software Development e-newsletter. What proactive methods do you use to detect null pointer bugs? Do you prefer hardware detection or software detection methods?

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

null pointer complexities

by davidh In reply to Detecting null pointer bu ...

good article. However the language issues surrounding null pointers in C have additional complexities that programmers should understand.

I recommend that all embedded C programmers take a look at the null pointer FAQ at http://www.eskimo.com/~scs/C-faq/s5.html.

Collapse -

Simple Null pointer

by Arvind Bharti In reply to Detecting null pointer bu ...

No doubt article is good. I think null pointer problem can arise only by two ways: malloc or a pointer that can de altered by other application also. That's why such a complex solution is not required, simple null checking will be enough, simple solution for complex null pointer.

Related Discussions

Related Forums