www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: Problem decompressing a compressed session

Problem decompressing a compressed session

From: Steven Nairn <steven.nairn_at_gmail.com>
Date: Thu, 31 May 2012 10:13:52 +0100

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?

Steve N

libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2012-05-31

the libssh2 team