fingerd
char line[512]; ... gets(line);
f doesn't even know the size of array! void f(char *s) { sprintf(s, "...."); } void g() { char buf[128]; f(buf); }
f doesn't even know the size of array!
f
void f(char *s) { sprintf(s, "...."); } void g() { char buf[128]; f(buf); }