NULL pointer errors are still common in Open Source software | Linux Today

NULL pointer errors are still common in Open Source software

Written By
SMK
Sean Michael Kerner
Sep 24, 2009

[ Thanks to smk for this link.
]

“The problem with a NULL pointer deference is that a
program is trying to access a memory location that doesn’t exist.
As such an application could potentially crash and in some cases be
at risk from potential security exploits. The reason why Null
Pointers continue to be common, speaks to the need of why there is
a continuing need to scan code to eliminate errors.

“”The use of pointers is very common and pointers are just
difficult to get right for lots of different reasons,” Andy Chou,
CTO and co-founder of Coverity told InternetNews.com. “Developers
often don’t often keep track carefully of whether or not a point is
NULL and as a result they make mistakes, because pointers are so
common, the number of chances they have for making a mistake is
also very high. So even if they only screw up a small percentage of
the time the number of defects may still be large since they have
so many opportunities to mess up.””

Complete
Story

SMK

Sean Michael Kerner

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.