Subject: [libssh2] #184: Decompression buffers are too small

[libssh2] #184: Decompression buffers are too small

From: libssh2 Trac <>
Date: Wed, 01 Sep 2010 21:05:21 -0000

#184: Decompression buffers are too small
 Reporter: tj@… | 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:

 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: <>
libssh2 <>
C library for writing portable SSH2 clients
Received on 2010-09-01