Subject: Re: Problem decompressing a compressed session

Re: Problem decompressing a compressed session

From: Alexander Lamaison <>
Date: Thu, 31 May 2012 10:50:01 +0100

On 31 May 2012 10:13, Steven Nairn <> wrote:
> Hello, new around here.
> I've come across a problem in libssh2 where data is inflated in
> comp_method_zlib_decomp() in comp.c. Specifically the Z_BUF_ERROR status
> that can be returned by inflate() is not handled gracefully (well, not
> handled at all).
> I have an analysis of the problem and a patch containing a proposed
> solution. Would you prefer if I raised a Trac ticket or should I just post
> to the list?

Either but a Trac ticket makes sure we don't forget the issue and gets
copied to this list anyway.


Swish - Easy SFTP for Windows Explorer (
Received on 2012-05-31