Advanced Buffer Overflow #8

Don't stay static


/* abo8.c                                       *
 * specially crafted to feed your brain by gera */

/* spot the difference */



char buf[256];

int main(int argv,char **argc) {
	strcpy(buf,argc[1]);
}

From the top of your head, what do you think is generally more safe, a program dynamically linked to its libraries or one statically linked to them? Now go and try it out!

{Previous} {index} {Next}