Bugzilla – Attachment 2928 Details for
Bug 2653
Including files without read access in ssh configuration fails without error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fatal() on Include errors other than ENOENT
bz2653.diff (text/plain), 671 bytes, created by
Damien Miller
on 2017-01-06 14:08:07 AEDT
(
hide
)
Description:
fatal() on Include errors other than ENOENT
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2017-01-06 14:08:07 AEDT
Size:
671 bytes
patch
obsolete
>Index: readconf.c >=================================================================== >RCS file: /cvs/src/usr.bin/ssh/readconf.c,v >retrieving revision 1.262 >diff -u -p -r1.262 readconf.c >--- readconf.c 25 Oct 2016 04:08:13 -0000 1.262 >+++ readconf.c 6 Jan 2017 03:06:06 -0000 >@@ -1487,6 +1487,11 @@ parse_keytypes: > flags | SSHCONF_CHECKPERM | > (oactive ? 0 : SSHCONF_NEVERMATCH), > activep, depth + 1); >+ if (errno != ENOENT) { >+ fatal("Can't open user config file " >+ "%.100s: %.100s", gl.gl_pathv[i], >+ strerror(errno)); >+ } > /* > * don't let Match in includes clobber the > * containing file's Match state.
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
Flags:
dtucker
:
ok+
Actions:
View
|
Diff
Attachments on
bug 2653
:
2920
| 2928