Bugzilla – Attachment 1830 Details for
Bug 1698
Connection stalls on PTY allocation failure
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
kill-on-pty-fail.diff
kill-on-pty-fail.diff (text/plain), 913 bytes, created by
Damien Miller
on 2010-04-09 10:35:25 AEST
(
hide
)
Description:
kill-on-pty-fail.diff
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2010-04-09 10:35:25 AEST
Size:
913 bytes
patch
obsolete
>Index: clientloop.c >=================================================================== >RCS file: /cvs/src/usr.bin/ssh/clientloop.c,v >retrieving revision 1.219 >diff -u -p -r1.219 clientloop.c >--- clientloop.c 13 Mar 2010 21:10:38 -0000 1.219 >+++ clientloop.c 9 Apr 2010 00:34:31 -0000 >@@ -1,4 +1,4 @@ >-/* $OpenBSD: clientloop.c,v 1.219 2010/03/13 21:10:38 djm Exp $ */ >+* $OpenBSD: clientloop.c,v 1.219 2010/03/13 21:10:38 djm Exp $ */ > /* > * Author: Tatu Ylonen <ylo@cs.hut.fi> > * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland >@@ -1894,7 +1894,7 @@ client_session2_setup(int id, int want_t > memset(&ws, 0, sizeof(ws)); > > channel_request_start(id, "pty-req", 1); >- client_expect_confirm(id, "PTY allocation", 0); >+ client_expect_confirm(id, "PTY allocation", 1); > packet_put_cstring(term != NULL ? term : ""); > packet_put_int((u_int)ws.ws_col); > packet_put_int((u_int)ws.ws_row);
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 1698
:
1830
|
1831