What is the vulnerability in this code?

int main(int argc, char * argv[]) {   
    printf (argv[1]);  
}
  1. Buffer overflow

  2. Off by one error

  3. Format string vulnerability

  4. No vulnerabilities are present in this code


Correct Option: C

Find more quizzes: