Bug 741

Summary: SSH with long banner has xmalloc error and disables the -q option
Product: Portable OpenSSH Reporter: Darryl Baker <dpb>
Component: sshAssignee: OpenSSH Bugzilla mailing list <openssh-bugs>
Status: CLOSED INVALID    
Severity: normal    
Priority: P2    
Version: -current   
Hardware: All   
OS: Solaris   
Attachments:
Description Flags
The version of the banner patch I'm using
none
The second patch added by a co-worker
none
ssh -vvv output none

Description Darryl Baker 2003-10-10 12:46:42 AEST
If I ssh to another 3.7.1p2 system and it is configured for a banner and the 
file either doesn't exist or is zero length I get "xmalloc: zero size" The 
patch also seems to disable the -q option to eliminate the banner. We use it 
for scripts.

Just to make matters a bit more complex I found that a co-worker added another 
patch pwexp24.patch to the mix. I will attach that one also.
Comment 1 Darryl Baker 2003-10-10 12:49:51 AEST
Created attachment 480 [details]
The version of the banner patch I'm using
Comment 2 Darren Tucker 2003-10-10 12:55:10 AEST
That patch was marked as obsolete.  Try attachment id #421.
Comment 3 Darryl Baker 2003-10-10 12:56:18 AEST
Created attachment 481 [details]
The second patch added by a co-worker
Comment 4 Darryl Baker 2003-10-10 12:57:45 AEST
Created attachment 482 [details]
ssh -vvv output
Comment 5 Darryl Baker 2003-10-10 13:18:48 AEST
A problem at this end. I need to find out how the old version of the patch made 
it back in the build.
Comment 6 Damien Miller 2004-04-14 12:24:19 AEST
Mass change of RESOLVED bugs to CLOSED