diff options
author | Damien Miller <djm@mindrot.org> | 2000-09-30 21:36:54 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2000-09-30 21:36:54 +1100 |
commit | 87f43ff889dba4377ea7f9052884b17e334089a2 (patch) | |
tree | 91f3a18f55c79f5f0b67b2315c58fc9b14797e5b /ssh-add.c | |
parent | f5a81473a9b9fbe90353eb72c49fb9fd2529c54a (diff) |
Forgot to commit changelog from loginrec changes
- (djm) Fix 9 character passphrase failure with gnome-ssh-askpass.
Problem was caused by interrupted read in ssh-add. Report from Donald
J. Barry <don@astro.cornell.edu>
Diffstat (limited to 'ssh-add.c')
-rw-r--r-- | ssh-add.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -117,7 +117,7 @@ ssh_askpass(char *askpass, char *msg) fatal("ssh_askpass: exec(%s): %s", askpass, strerror(errno)); } close(p[1]); - len = read(p[0], buf, sizeof buf); + len = atomicio(read, p[0], buf, sizeof buf); close(p[0]); while (waitpid(pid, &status, 0) < 0) if (errno != EINTR) |