Chapter 8. Buffer Overflows and Stack and Heap Manipulation

Buffer overflows (also referred to as buffer overruns) are a specific class of array and numeric bounds errors. They are one of the longest-running, costliest security vulnerabilities known to affect computer software. Understanding the core concepts behind buffer overflows can be fun and rewarding.

What is a buffer overflow, exactly? In simple terms, most buffer overflows take place when the input is larger than the space allocated for it, but it is written there anyhow and memory is overwritten outside the allocated ...

Get Hunting Security Bugs now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.