57
60
char buf[1024]; /* Must not be larger than host, user, dummy below. */
59
64
/* Open the .rhosts file, deny if unreadable */
64
82
while (fgets(buf, sizeof(buf), f)) {
65
83
/* All three must be at least as big as buf to avoid overflows. */
66
84
char hostbuf[1024], userbuf[1024], dummy[1024], *host, *user, *cp;