equal
deleted
inserted
replaced
1 Remove error() accidentally inserted for debugging. |
|
2 |
|
3 OpenSSH 6.8 regression, already fixed in OpenSSH 6.9: |
|
4 https://github.com/openssh/openssh-portable/commit/4d24b3b6 |
|
5 |
|
6 Remove this patch when upgrading to OpenSSH 6.9 or higher. |
|
7 |
|
8 diff -pur old/monitor_wrap.c new/monitor_wrap.c |
|
9 --- old/monitor_wrap.c |
|
10 +++ new/monitor_wrap.c |
|
11 @@ -153,10 +153,8 @@ mm_request_receive(int sock, Buffer *m) |
|
12 debug3("%s entering", __func__); |
|
13 |
|
14 if (atomicio(read, sock, buf, sizeof(buf)) != sizeof(buf)) { |
|
15 - if (errno == EPIPE) { |
|
16 - error("%s: socket closed", __func__); |
|
17 + if (errno == EPIPE) |
|
18 cleanup_exit(255); |
|
19 - } |
|
20 fatal("%s: read: %s", __func__, strerror(errno)); |
|
21 } |
|
22 msg_len = get_u32(buf); |
|