cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: FW: scp upload failure memory leak

From: Jeff Weber <jweber_at_amsc.com>
Date: Wed, 11 Jun 2008 09:19:30 -0500

On Tue, Jun 10, 2008 at 04:30:13PM +0200, Daniel Stenberg wrote:
> On Mon, 9 Jun 2008, Jeff Weber wrote:
>
>> I got this memory leak from libssh2-0.18 + libcurl 7.18.1 + ssh.c patch
>> below, when uploading via sftp and authenticating via user, password. I
>> do not get a leak when authenticating via public key.
>
> Can you please try with an unpatched libcurl 7.18.2? I can't recall exactly
> what patch that was or how it differs to what is in CVS right now (or in
> the 7.18.2 release).

curl 7.18.2 sftp upload with password authentication leaks. valgrind output
attached.

curl 7.18.2 sftp upload with publickey authentication leaks. valgrind output
attached.

To test these, I ran the curl command line tool from valgrind, and varied the
authentication methods. The valgrind output shows the command line used.

    Jeff

“This e-mail message and any attachments are confidential and may be privileged.
If you are not the intended recipient please notify American Superconductor Corporation
immediately by replying to this message or by sending a message to postmaster_at_amsc.com
and destroy all copies of this message and any attachments.
Thank you.”

Received on 2008-06-11