Bug 679

Summary: fatal: buffer_append_space with compression enabled in putty
Product: Portable OpenSSH Reporter: Piotr Kucharski <chopin+sshzilla>
Component: sshdAssignee: OpenSSH Bugzilla mailing list <openssh-bugs>
Status: CLOSED FIXED    
Severity: enhancement    
Priority: P3    
Version: 3.7.1p1   
Hardware: SPARC   
OS: Solaris   

Description Piotr Kucharski 2003-09-19 01:47:07 AEST
When compression is enabled in Putty (0.53b), sshd accepts the keys, username, 
password and then exits, leaving in logs:
fatal: buffer_append_space: alloc 10506240 not supported
Turning off compression in Putty allows to login normally.

It used to work at least with 3.1p1
Comment 1 Darren Tucker 2003-09-19 07:41:50 AEST
I have seen similar issue resolved by upgrading zlib to 1.1.4.
What version are you using?
Comment 2 Piotr Kucharski 2003-09-19 08:21:17 AEST
Interesting tip. After upgrading zlib to 1.1.4 (and recompiling openssh) it 
works again. Thanks.

Perhaps it's better to document that zlib 1.1.4 is required?
Comment 3 Darren Tucker 2003-09-19 08:35:45 AEST
Good idea, I think we should do that.  Please leave the bug open for now, we'll
close it when we update the docs.
Comment 4 Darren Tucker 2003-09-19 13:27:08 AEST
Should we have configure enforce a minimum level of zlib?   Versions previous to
1.1.4 have security problems anyway.
Comment 5 Darren Tucker 2003-09-22 13:30:07 AEST
Thanks, have updated INSTALL to require 1.1.4.  Configure does not enforce it,
though.
Comment 6 Damien Miller 2004-04-14 12:24:19 AEST
Mass change of RESOLVED bugs to CLOSED