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

Archive Index This month's Index

Subject: Re: memory leak in _libssh2_channel_open

Re: memory leak in _libssh2_channel_open

From: Steven Dake <sdake_at_redhat.com>
Date: Fri, 24 Feb 2012 10:29:51 -0700

On 02/24/2012 10:22 AM, Peter Stuge wrote:
> Steven Dake wrote:
>> I tried this patch and it resulted in double free followed by
>> segfault from gcc memory checker.
>
> Does valgrind tell where the packet was previously freed?
>
> And when does the double free happen?
>
>
> //Peter
> _______________________________________________
> libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

I have attached a gz of the typescript run of valgrind

All sorts of bad things happen with that patch (those problems didn't
occur prior to patch)

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Received on 2012-02-24

the libssh2 team