Bugzilla – Attachment 2019 Details for
Bug 1880
PermitOpen config lines beyond the first are ignored by sshd
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix the problem
permitopenfix.patch (text/plain), 718 bytes, created by
RyanC
on 2011-03-22 13:33:47 AEDT
(
hide
)
Description:
patch to fix the problem
Filename:
MIME Type:
Creator:
RyanC
Created:
2011-03-22 13:33:47 AEDT
Size:
718 bytes
patch
obsolete
>--- openssh-5.8p1.orig/servconf.c 2010-11-19 20:19:38.000000000 -0800 >+++ openssh-5.8p1.new/servconf.c 2011-03-21 19:30:55.000000000 -0700 >@@ -1330,7 +1330,7 @@ > filename, linenum); > n = options->num_permitted_opens; /* modified later */ > if (strcmp(arg, "any") == 0) { >- if (*activep && n == -1) { >+ if (*activep) { > channel_clear_adm_permitted_opens(); > options->num_permitted_opens = 0; > } >@@ -1347,7 +1347,7 @@ > if (arg == NULL || (port = a2port(arg)) <= 0) > fatal("%s line %d: bad port number in " > "PermitOpen", filename, linenum); >- if (*activep && n == -1) >+ if (*activep) > options->num_permitted_opens = > channel_add_adm_permitted_opens(p, port); > }
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 1880
: 2019