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 <stdio.h>
#include <string.h>
int main(int argc, char *argv[])
{
char buffer[10];
if (argc < 2)
{
fprintf(stderr, “USAGE: %s stringn”, argv[0]);
return 1;
}
strcpy(buffer, argv[1]);
return 0;
}
A.
Buffer overflow
B.
SQL injection
C.
Format string bug
D.
Kernal injection