[Bug 2238] sftp exits on bad tab completion

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed Apr 30 03:51:00 EST 2014


https://bugzilla.mindrot.org/show_bug.cgi?id=2238

Darren Tucker <dtucker at zip.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #2433|                            |ok?(djm at mindrot.org)
              Flags|                            |
                 CC|                            |djm at mindrot.org

--- Comment #3 from Darren Tucker <dtucker at zip.com.au> ---
Created attachment 2433
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2433&action=edit
only append quote character if non-nul

Please try this patch.

I think I figured it out: the string is considered unterminated
(because there's an unbalanced number of quotes, but the string isn't
considered quoted (because it doesn't start with a quote).  In this
case, sftp appends the "quote" character (which happens to be nul) then
tries calls editline to append this nul string to the line, which
fails.

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list