Page 1 of 1

Consider the following code char buf[80]; int authenticated = 0; void vulnerable() { gets(buf); } What are the security

Posted: Sun May 15, 2022 12:30 pm
by answerhappygod
Consider the following code
char buf[80]; int authenticated = 0;
void vulnerable() {
gets(buf); }
What are the security concerns with this code, and what are the
possible ways to mitigate these security issues?