Bugzilla – Attachment 268 Details for
Bug 528
ProxyCommand none is sensitive to extra whitespace
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix
T (text/plain), 658 bytes, created by
Markus Friedl
on 2003-04-03 07:46:24 AEST
(
hide
)
Description:
fix
Filename:
MIME Type:
Creator:
Markus Friedl
Created:
2003-04-03 07:46:24 AEST
Size:
658 bytes
patch
obsolete
>Index: readconf.c >=================================================================== >RCS file: /cvs/src/usr.bin/ssh/readconf.c,v >retrieving revision 1.105 >diff -u -r1.105 readconf.c >--- readconf.c 2 Apr 2003 09:48:07 -0000 1.105 >+++ readconf.c 2 Apr 2003 21:53:29 -0000 >@@ -515,8 +515,13 @@ > case oProxyCommand: > charptr = &options->proxy_command; > len = strspn(s, WHITESPACE "="); >- if (*activep && *charptr == NULL) >- *charptr = xstrdup(s + len); >+ if (*activep && *charptr == NULL) { >+ arg = xstrdup(s + len); >+ len = strlen(arg); >+ if (arg[len - 1] == '\n') >+ arg[len - 1] = '\0'; >+ *charptr = arg; >+ } > return 0; > > case oPort:
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 528
: 268