Bug 1533

Summary: input_userauth_banner incorrectly escapes banner
Product: Portable OpenSSH Reporter: Mike Frysinger <vapier>
Component: sshdAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED FIXED    
Severity: normal CC: cjwatson, dtucker
Priority: P2    
Version: 5.1p1   
Hardware: All   
OS: All   
URL: http://bugs.gentoo.org/244222
Bug Depends on:    
Bug Blocks: 1626    

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.