Multiple choice technology security

A Buffer over flow occurs when …

  1. The application does not have enough memory allocated to handle the large amount of input

  2. The Operating System does not have enough RAM to handle large amount of input

  3. The client does not have enough memory allocated to handle the large amount of input

  4. A variable in the program does not have enough memory allocated to handle the amount of input

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

A buffer overflow occurs when a program writes more data to a buffer (a temporary storage area in memory) than it can hold, causing the excess data to overflow into adjacent memory locations. This happens when a variable doesn't have enough memory allocated to handle the amount of input being written to it, potentially allowing attackers to execute arbitrary code.