* krshd.c (doit): For encrypted rcp, fix logic in determining
authorEzra Peisach <epeisach@mit.edu>
Tue, 12 Mar 1996 23:03:58 +0000 (23:03 +0000)
committerEzra Peisach <epeisach@mit.edu>
Tue, 12 Mar 1996 23:03:58 +0000 (23:03 +0000)
commitdd1fb67c835df0687fc9242e96f427e8bd778793
tree26369079f9d0e3848ee8f535d4455c2e46da8838
parentd172d81439fb027047c76e832148a7c23cef27fe
* krshd.c (doit): For encrypted rcp, fix logic in determining
executable to run.

The real bug was that for encrypted rcp, it was checking (with stat) if
"-x ....../rcp" existed instead of "..../rcp"

Another change is so that freed memory is not accessed.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7610 dc483132-0cff-0310-8789-dd5450dbe970
src/appl/bsd/krlogind.M
src/appl/bsd/krshd.c