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

Archive Index This month's Index

Subject: Re: Memory leaks in out-of-memory conditions

Re: Memory leaks in out-of-memory conditions

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 25 Feb 2014 00:54:23 +0100

On Thu, Feb 06, 2014 at 11:48:53PM +0100, Dan Fandrich wrote:
> I've discovered a few memory leaks in libssh2, while running the curl torture
> tests. I'm attaching a patch for review, as I'm not completely certain about
> some of the error paths.

I studied this in more depth and found my original understanding (and the
comments) weren't quite right on one issue. I've pushed a change that I'm
more comfortable with, as well as fixing a number of other error path
problems I found.

>>> Dan
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2014-02-25

the libssh2 team