Skip to content

CS Professional · Artificial Intelligence, Data Analytics and Cyber Security - Laws and Practice · Softwares and Software Security

A program copies more data into a fixed-size memory area than it can hold, overwriting adjacent memory and allowing an attacker to run injected instructions. This weakness is known as a:

This weakness is a buffer overflow. The program writes more data into a fixed-size memory area than it can hold, spilling into adjacent memory, which an attacker can use to inject and execute malicious instructions. Bounds checking in code is the usual remedy.

  1. ARace condition
  2. BBuffer overflowCorrect
  3. CCross-site scripting flaw
  4. DDenial of service flood

Explanation

Writing beyond the bounds of a fixed memory buffer and overwriting neighbouring memory is a buffer overflow. A race condition concerns timing of concurrent operations rather than memory bounds.

Did you get it right without looking?

One question tells you little. A timed set on Softwares and Software Security shows your real accuracy, how long you take and where you lose marks.

More Softwares and Software Security questions