Skip to content

Glossary: C Basics

Buffer overflow

Also written: heap-buffer-overflow, stack-buffer-overflow, writing past the end

Writing past the end of an array or heap block, which damages memory that belongs to something else. C doesn't check indexes, but AddressSanitizer reports it.

Where the book teaches it

Related terms

IndexUndefined behaviorAddressSanitizer (ASan)