EC-Council
412-79V10 · Question #288
412-79V10 Question #288: Real Exam Question with Answer & Explanation
Sign in or unlock 412-79V10 to reveal the answer and full explanation for question #288. The question stem and answer options stay visible for context.
Question
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. Here are the relevant command. What is the testing in this point?
#include <stdio.h>
#include <string.h>
int main(int argc, char *argv[])
{
char buffer[10];
if (argc < 2)
{
fprintf(stderr, "USAGE: %s string\n", argv[0]);
exit(1);
}
strcpy(buffer, argv[1]);
return 0;
}
Options
- ABuffer overflow
- BFormat string bug
- CNormal function
- DSQL injection
Unlock 412-79V10 to see the answer
You've previewed enough free 412-79V10 questions. Unlock 412-79V10 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.