Buffer Overflow

Difficulty: Advanced

Question

What is a buffer overflow?

Answer

When a program attempts to write more data to a fixed-length block of memory (a buffer) than it is allocated to hold, overwriting adjacent memory.

Concepts covered

Memory Corruption, C/C++