PrepAway - Latest Free Exam Questions & Answers

why is input validation important?

In regard to secure coding practices, why is input validation important?

PrepAway - Latest Free Exam Questions & Answers

A.
It mitigates buffer overflow attacks.

B.
It makes the code more readable.

C.
It provides an application configuration baseline.

D.
It meets gray box testing standards.

Explanation:
Buffer overflow is an exploit at programming error, bugs and flaws. It occurs when an application is fed more
input data than it is programmed to handle. This may cause the application to terminate or to write data beyond
the end of the allocated space in memory. The termination of the application may cause the system to send the
data with temporary access to privileged levels in the system, while overwriting can cause important data to be
lost. Proper error and exception handling and input validation will help prevent Buffer overflow exploits.


Leave a Reply