Bug 1533 - input_userauth_banner incorrectly escapes banner
Summary: input_userauth_banner incorrectly escapes banner
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: sshd (show other bugs)
Version: 5.1p1
Hardware: All All
: P2 normal
Assignee: Assigned to nobody
URL: http://bugs.gentoo.org/244222
Keywords:
Depends on:
Blocks: V_5_4
  Show dependency treegraph
 
Reported: 2008-10-26 22:10 AEDT by Mike Frysinger
Modified: 2010-03-26 10:50 AEDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Frysinger 2008-10-26 22:10:13 AEDT
if your banner includes backslashes, then openssh-5.1 will escape all of them.  so instead of just one \, you get \\.  example:
http://bugs.gentoo.org/attachment.cgi?id=169798

proposed fix:
http://bugs.gentoo.org/attachment.cgi?id=169911

this was noted & fixed by Michał Górny
Comment 1 Darren Tucker 2010-01-02 15:35:35 AEDT
Add to the list for 5.4
Comment 2 Darren Tucker 2010-01-04 12:46:08 AEDT
Patch has been applied and will be in 5.4.  Thanks.
Comment 3 Darren Tucker 2010-03-26 10:50:55 AEDT
With the release of 5.4p1, this bug is now considered closed.