Bugzilla – Attachment 3132 Details for
Bug 2837
ssh-agent closes listening socket on error in handle_socket_read()
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
patch that removes close_socket() of listening socket.
file_2837.txt (text/plain), 645 bytes, created by
Lukas Kuster
on 2018-03-06 19:24:50 AEDT
(
hide
)
Description:
patch that removes close_socket() of listening socket.
Filename:
MIME Type:
Creator:
Lukas Kuster
Created:
2018-03-06 19:24:50 AEDT
Size:
645 bytes
patch
obsolete
>diff --git a/ssh-agent.c b/ssh-agent.c >index 0c6c3659..c28538ac 100644 >--- a/ssh-agent.c >+++ b/ssh-agent.c >@@ -881,9 +881,8 @@ after_poll(struct pollfd *pfd, size_t npfd) > /* Process events */ > switch (sockets[socknum].type) { > case AUTH_SOCKET: >- if ((pfd[i].revents & (POLLIN|POLLERR)) != 0 && >- handle_socket_read(socknum) != 0) >- close_socket(&sockets[socknum]); >+ if (pfd[i].revents & (POLLIN|POLLERR)) >+ handle_socket_read(socknum); > break; > case AUTH_CONNECTION: > if ((pfd[i].revents & (POLLIN|POLLERR)) != 0 &&
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 2837
: 3132