IBM developerworks: Make your software behave: Learning the basics of buffer overflows | Linux Today

IBM developerworks: Make your software behave: Learning the basics of buffer overflows

Written By
Web Webster
Web Webster
Mar 4, 2000

“Get reacquainted with the single biggest threat to software
security.”

“Buffer overflows accounted for over 50 percent of all major
security bugs leading to CERT/CC advisories last year… And the
data show that the problem is growing instead of shrinking…”

“Clearly, you would think by now that buffer overflow errors
would be obsolete. So why are buffer overflow vulnerabilities still
being produced? Because the recipe for disaster is surprisingly
simple. Take one part bad language design (usually in C and C++),
mix in two parts poor programmer practice, and you have a recipe
for big problems. Buffer overflows can happen in languages other
than C and C++, though without some incredibly unusual programming,
modern “safe” languages like Java are immune to the problem.”

“The root cause of buffer overflow problems is that C (and its
red-headed stepchild, C++) is inherently unsafe. There are no
bounds checks on array and pointer references, meaning a developer
has to check the bounds (an activity that is often ignored) or risk
encountering problems.”


Complete story
.

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

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.