nerdexam
GIAC

GISP · Question #259

GISP Question #259: Real Exam Question with Answer & Explanation

Sign in or unlock GISP to reveal the answer and full explanation for question #259. The question stem and answer options stay visible for context.

Question

John works as a C programmer. He develops the following C program: #include <stdlib.h> #include <stdio.h> #include <string.h> int buffer(char* str) { char buffer1[10]; strcpy(buffer1, str); return 1; } int main(int argc, char *argv[]) { buffer (argv[1]); printf ("Executed\n"); return 1; } His program is vulnerable to a ________ attack.

Options

  • ADenial-of-Service
  • BSQL injection
  • CBuffer overflow
  • DCross site scripting

Unlock GISP to see the answer

You've previewed enough free GISP questions. Unlock GISP 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.

Full GISP Practice