In regard to secure coding practices, why is input validation important?
It mitigates buffer overflow attacks.
It makes the code more readable.
It provides an application configuration baseline.
It meets gray box testing standards.
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.