Which secure coding practice mitigates buffer overflow attacks?
A CISSP practice question covering Domain 8: Software Development Security. Try answering before reading the explanation below.
Show options & answer
Why "Bounds checking and using memory-safe languages or libraries" is the right answer
Bounds checking, memory-safe languages (Rust, Go, Java), or hardened APIs (snprintf instead of strcpy) prevent overflow at the source. Stack guards (canaries), DEP, and ASLR are exploit-mitigation defenses.
Take the full CISSP practice test
120 questions, instant explanations, study-video links on every miss. No account.