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 | |
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>
-rw-r--r-- | CREDITS | 1 | ||||
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ssh-add.c | 2 |
3 files changed, 8 insertions, 1 deletions
@@ -3,6 +3,7 @@ Tatu Ylonen <ylo@cs.hut.fi> - Creator of SSH | |||
3 | Aaron Campbell, Bob Beck, Markus Friedl, Niels Provos, | 3 | Aaron Campbell, Bob Beck, Markus Friedl, Niels Provos, |
4 | Theo de Raadt, and Dug Song - Creators of OpenSSH | 4 | Theo de Raadt, and Dug Song - Creators of OpenSSH |
5 | 5 | ||
6 | Alain St-Denis <Alain.St-Denis@ec.gc.ca> - Irix fix | ||
6 | Alexandre Oliva <oliva@lsd.ic.unicamp.br> - AIX fixes | 7 | Alexandre Oliva <oliva@lsd.ic.unicamp.br> - AIX fixes |
7 | Andre Lucas <andre.lucas@dial.pipex.com> - new login code, many fixes | 8 | Andre Lucas <andre.lucas@dial.pipex.com> - new login code, many fixes |
8 | Andreas Steinmetz <ast@domdv.de> - Shadow password expiry support | 9 | Andreas Steinmetz <ast@domdv.de> - Shadow password expiry support |
@@ -20,6 +20,12 @@ | |||
20 | - markus@cvs.openbsd.org 2000/09/28 12:03:18 | 20 | - markus@cvs.openbsd.org 2000/09/28 12:03:18 |
21 | [channels.c] | 21 | [channels.c] |
22 | debug -> debug2 cleanup | 22 | debug -> debug2 cleanup |
23 | - (djm) Irix strips "/dev/tty" from [uw]tmp entries (other systems only | ||
24 | strip "/dev/"). Fix loginrec.c based on patch from Alain St-Denis | ||
25 | <Alain.St-Denis@ec.gc.ca> | ||
26 | - (djm) Fix 9 character passphrase failure with gnome-ssh-askpass. | ||
27 | Problem was caused by interrupted read in ssh-add. Report from Donald | ||
28 | J. Barry <don@astro.cornell.edu> | ||
23 | 29 | ||
24 | 20000929 | 30 | 20000929 |
25 | - (djm) Fix SSH2 not terminating until all background tasks done problem. | 31 | - (djm) Fix SSH2 not terminating until all background tasks done problem. |
@@ -117,7 +117,7 @@ ssh_askpass(char *askpass, char *msg) | |||
117 | fatal("ssh_askpass: exec(%s): %s", askpass, strerror(errno)); | 117 | fatal("ssh_askpass: exec(%s): %s", askpass, strerror(errno)); |
118 | } | 118 | } |
119 | close(p[1]); | 119 | close(p[1]); |
120 | len = read(p[0], buf, sizeof buf); | 120 | len = atomicio(read, p[0], buf, sizeof buf); |
121 | close(p[0]); | 121 | close(p[0]); |
122 | while (waitpid(pid, &status, 0) < 0) | 122 | while (waitpid(pid, &status, 0) < 0) |
123 | if (errno != EINTR) | 123 | if (errno != EINTR) |