Bugzilla – Attachment 1285 Details for
Bug 773
OpenSSH silently exits on write failure on stdout/stderr
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Report error on read/write failures
ssh-rw-error.diff (text/plain), 933 bytes, created by
Damien Miller
on 2007-05-17 18:44:15 AEST
(
hide
)
Description:
Report error on read/write failures
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2007-05-17 18:44:15 AEST
Size:
933 bytes
patch
obsolete
>Index: channels.c >=================================================================== >RCS file: /cvs/src/usr.bin/ssh/channels.c,v >retrieving revision 1.268 >diff -u -p -r1.268 channels.c >--- channels.c 3 Jan 2007 03:01:40 -0000 1.268 >+++ channels.c 17 May 2007 08:01:49 -0000 >@@ -1460,6 +1460,9 @@ channel_handle_rfd(Channel *c, fd_set *r > c->type = SSH_CHANNEL_INPUT_DRAINING; > debug2("channel %d: input draining.", c->self); > } else { >+ if (len < 0 && errno != EPIPE) >+ error("channel %d: read: %s", >+ c->self, strerror(errno)); > chan_read_failed(c); > } > return -1; >@@ -1537,6 +1540,9 @@ channel_handle_wfd(Channel *c, fd_set *r > debug2("channel %d: input draining.", c->self); > c->type = SSH_CHANNEL_INPUT_DRAINING; > } else { >+ if (len < 0 && errno != EPIPE) >+ error("channel %d: write: %s", >+ c->self, strerror(errno)); > chan_write_failed(c); > } > return -1;
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 773
: 1285