Stack Overflow and Program Control

ABSTRACT

A buffer is a sequential section of memory allocated to contain anything from a character string to an array of integers. A buffer overflow or buffer overrun occurs when more data is put into a fixed-length buffer than that the buffer can handle. Adjacent memory space becomes overwritten and corrupted. In computer security and programming, a buffer overflow, or buffer overrun, is an anomaly where a program, while writing data to a buffer, overruns the buffer’s boundary and overwrites adjacent memory. This is a special case of violation of memory safety. A buffer overflow is a common software coding mistake. This paper discusses certain issues about buffer overflow from the very basic and its details in the system.

[Full Text: PDF]

Updated: June 26, 2023 — 3:26 am