Vulnerable Format String Code
// fmtstr.c
#include <stdlib.h>
int main(int argc,char *argv[]) {
static int dc214=0;
char temp[2048];
strcpy(temp,argv[1]);
printf(temp);
printf(“\n”);
printf(“dc214 at 0x%08x = 0x%08x\n”,&dc214,dc214);
}