ECCouncil EC-Council Certified Security Analyst (ECSA) EC0-479 Question # 15 Topic 2 Discussion

ECCouncil EC-Council Certified Security Analyst (ECSA) EC0-479 Question # 15 Topic 2 Discussion

EC0-479 Exam Topic 2 Question 15 Discussion:
Question #: 15
Topic #: 2

Kyle is performing the final testing of an application he developed for the accounting department. His last round of testing is to ensure that the program is as secure as possible. Kyle runs the following command. What is he testing at this point?

#include

#include

int main(int argc, char *argv[])

{

char buffer[10];

if (argc < 2)

{

fprintf(stderr, "USAGE: %s string\n", argv[0]);

return 1;

}

strcpy(buffer, argv[1]);

return 0;

}


A.

Buffer overflow


B.

Format string bug


C.

Kernal injection


D.

SQL injection


Get Premium EC0-479 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.