Format String Vulnerabilities

Exploiting Format String Vulnerabilities

How does a format string vulnerability look like ?

     Wrong usage:

int
func (char *user)
{
            printf (user);
}

     Ok:

int
func (char *user)
{
            printf (“%s”, user);
}

Post a Comment

Your email is never published nor shared.

Spam protection by WP Captcha-Free