[Bug 2651] ssh prints bogus error message if config file has very long lines

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri Mar 10 14:33:55 AEDT 2017


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

Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned-bugs at mindrot.org |djm at mindrot.org
                 CC|                            |djm at mindrot.org,
                   |                            |dtucker at zip.com.au
   Attachment #2958|                            |ok?(dtucker at zip.com.au)
              Flags|                            |

--- Comment #4 from Damien Miller <djm at mindrot.org> ---
Created attachment 2958
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2958&action=edit
fatal if line is at limit

Here's a simpler patch that makes ssh match sshd's behaviour: fatal if
the line completely fills the buffer.

To make sure that this doesn't create problems for users who had
configuration files that contained lines this long, this also cranks
the line buffer size to match sshd's.

-- 
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