Computer Hacking Forensic Investigator (CHFI v10) — Question 326
Buffer overflow vulnerability of a web application occurs when it fails to guard its buffer properly and allows writing beyond its maximum size. Thus, it overwrites the_________. There are multiple forms of buffer overflow, including a Heap Buffer Overflow and a Format String Attack.
Answer options
- A. Adjacent memory locations
- B. Adjacent bit blocks
- C. Adjacent buffer locations
- D. Adjacent string locations
Correct answer: A
Explanation
The correct answer is A, as buffer overflows typically overwrite adjacent memory locations, potentially causing unpredictable behavior. Options B, C, and D are incorrect because they do not accurately describe the term 'memory locations' which is essential to understanding the implications of a buffer overflow.