Study. uk . com
  1. Home
  2. All questions
  3. Question 164

CompTIA Security+ study material · question 164 of 611

Which two defences remove the buffer overflow class rather than mitigating individual instances?

  1. Stack canaries and compiler warnings
  2. Bounds checking and memory-safe languages
  3. Address space randomisation and data execution prevention
  4. Input length limits and web application firewalls
Show the answer

Answer: B. Bounds checking and memory-safe languages

Randomisation and canaries make exploitation harder; bounds checking and memory safety remove the writes past the allocation.

Challenge yourself on this topic → Study as cards