Bugzilla – Attachment 2433 Details for
Bug 2238
sftp exits on bad tab completion
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
only append quote character if non-nul
openssh-sftp-nul-quote.patch (text/plain), 544 bytes, created by
Darren Tucker
on 2014-04-30 03:51:00 AEST
(
hide
)
Description:
only append quote character if non-nul
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2014-04-30 03:51:00 AEST
Size:
544 bytes
patch
obsolete
>Index: sftp.c >=================================================================== >RCS file: /home/dtucker/openssh/cvs/openssh/sftp.c,v >retrieving revision 1.171 >diff -u -p -r1.171 sftp.c >--- sftp.c 21 Nov 2013 02:57:15 -0000 1.171 >+++ sftp.c 29 Apr 2014 17:46:24 -0000 >@@ -1904,7 +1904,7 @@ complete_match(EditLine *el, struct sftp > lf = el_line(el); > if (g.gl_matchc == 1) { > i = 0; >- if (!terminated) >+ if (!terminated && quote != '\0') > ins[i++] = quote; > if (*(lf->cursor - 1) != '/' && > (lastarg || *(lf->cursor) != ' '))
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:
djm
:
ok+
Actions:
View
|
Diff
Attachments on
bug 2238
: 2433