Which of the following measures can effectively minimize the possibility of buffer overflows?
A.
Sufficient bounds checking
B.
Sufficient memory
C.
Sufficient processing capability
D.
Sufficient code injection
E.
None of the choices.
Explanation:
Buffer overflows may cause a process to crash or produce incorrect results. They can be triggered by inputs
specifically designed to execute malicious code or to make the program operate in an unintended way. As
such,
buffer overflows cause many software vulnerabilities and form the basis of many exploits. Sufficient bounds
checking by either the programmer or the compiler can prevent buffer overflows.