? rexecd ? rexecd.8.gz Index: rexecd.c =================================================================== RCS file: /home/ncvs/src/libexec/rexecd/rexecd.c,v retrieving revision 1.39 diff -c -u -r1.39 rexecd.c --- rexecd.c 5 Apr 2005 18:25:27 -0000 1.39 +++ rexecd.c 7 Apr 2005 12:45:55 -0000 @@ -136,9 +136,9 @@ { char *cmdbuf, *cp; int maxcmdlen; - char user[16], pass[16]; + char userbuf[16], pass[16]; struct passwd *pwd, pwd_storage; - char *pwdbuf; + char *pwdbuf, *user; size_t pwdbuflen; int fd, r, sd; u_short port; @@ -189,6 +189,7 @@ if (connect(sd, fromp, fromp->sa_len) < 0) exit(1); } + user = userbuf; getstr(user, sizeof(user), "username"); getstr(pass, sizeof(pass), "password"); getstr(cmdbuf, maxcmdlen, "command");