commit | 1da5934b860ac0378d52d3035b22b6670f6a967e | [log] [tgz] |
---|---|---|
author | dtucker@openbsd.org <dtucker@openbsd.org> | Fri May 25 03:20:59 2018 +0000 |
committer | Damien Miller <djm@mindrot.org> | Fri May 25 14:27:50 2018 +1000 |
tree | 4065d9fd7aebb64f0b8efdfedc7c57f4c419cf43 | |
parent | 4ef75926ef517d539f2c7aac3188b09f315c86a7 [diff] |
upstream: If select() fails in ssh_packet_read_seqnr go directly to the error path instead of trying to read from the socket on the way out, which resets errno and causes the true error to be misreported. ok djm@ OpenBSD-Commit-ID: 2614edaadbd05a957aa977728aa7a030af7c6f0a