Displaying 1 result from an estimated 1 matches for "91c120".
Did you mean:
91120
2000 Oct 17
1
ssh-add broken for latest snapshots
...change recently made.
I run "ssh-add < /dev/null" to launch (x11-)ssh-askpass from the CDE
startup. Unfortunately, no keys are added to ssh-agent!
Reason: Between 2.2.0p1 (ssh-add.c 1.20) and now (ssh-add 1.22) the input
reading from ssh-askpass was changed from read() to atomicio().
91c120
< len = read(p[0], buf, sizeof buf);
---
> len = atomicio(read, p[0], buf, sizeof buf);
After having entered the passphrase, atomicio will first read the correct
number of characters (like read()), but then will try to read another hunk,
which is not there anymore, because anythin...