Bugzilla – Attachment 1969 Details for
Bug 1213
ssh-keyscan exits in mid-way
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix(?) for premature ssh-keyscan abort.
difs (text/plain), 778 bytes, created by
aab
on 2010-12-03 11:19:46 AEDT
(
hide
)
Description:
Fix(?) for premature ssh-keyscan abort.
Filename:
MIME Type:
Creator:
aab
Created:
2010-12-03 11:19:46 AEDT
Size:
778 bytes
patch
obsolete
>diff -u openssh-5.6p1/ssh-keyscan.c.orig openssh-5.6p1/ssh-keyscan.c >--- openssh-5.6p1/ssh-keyscan.c.orig 2010-06-25 19:39:59.000000000 -0400 >+++ openssh-5.6p1/ssh-keyscan.c 2010-11-29 23:26:46.940310000 -0500 >@@ -580,6 +580,19 @@ > } > } > >+/* >+ * To convert general remote aborts to continues for ssh-keyscan while >+ * executing the `dispatch_run()' function. >+ */ >+void >+cleanup_exit(int i) >+{ >+ if (nonfatal_fatal) >+ longjmp(kexjmp, -1); >+ else >+ exit(i); >+} >+ > void > fatal(const char *fmt,...) > { >@@ -709,7 +722,7 @@ > fdlim_set(maxfd); > fdcon = xcalloc(maxfd, sizeof(con)); > >- read_wait_nfdset = howmany(maxfd, NFDBITS); >+ read_wait_nfdset = howmany(maxfd + 1, NFDBITS); > read_wait = xcalloc(read_wait_nfdset, sizeof(fd_mask)); > > for (j = 0; j < fopt_count; j++) {
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 1213
:
1961
|
1969
|
2000
|
2005
|
2008
|
2016
|
2018
|
2021
|
2057
|
2197
|
2533
|
2536
|
2537
|
2540