#184: Decompression buffers are too small
------------------------------+---------------------------------------------
 Reporter:  t...@…              |       Owner:       
     Type:  defect            |      Status:  new  
 Priority:  normal            |   Milestone:  1.2.6
Component:  protocol          |     Version:  1.2.7
 Keywords:                    |      Blocks:       
Blocked By:                    |  
------------------------------+---------------------------------------------
 This thread on the libssh2-devel mailing list points out that there is an
 issue with downloading files using a channel for which server-to-client
 compression has been negotiated:

   http://www.libssh2.org/mail/libssh2-devel-archive-2010-08/0127.shtml

 To address this, I have attached a patch which increases the size of the
 buffers used in src/comp.c, for decompressing data.  It also adds debug
 logging of a zlib return code other than Z_OK, for easier analysis/triage
 for future compression issues.

-- 
Ticket URL: <http://trac.libssh2.org/ticket/184>
libssh2 <http://trac.libssh2.org/>
C library for writing portable SSH2 clients
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to