curl-library
Re: libcurl crahes when an SFTP server's home directory is non-exist
From: B _ <silverhjc_at_hotmail.com>
Date: Tue, 28 Jun 2016 02:09:56 +0000
Date: Tue, 28 Jun 2016 02:09:56 +0000
On Mon, 27 Jun 2016, Daniel Stenberg wrote:
> On Fri, 17 Jun 2016, 暖和的和暖 _ wrote:
>
>> Maybe here need to revise the "result" since the "err" cannot be fully
>> trusted, something equals to
>
>> if(result == CURLE_OK)
>> result = CURLE_SSH;
>
>> How about this patch?
>Any feedback on this?
Sorry for late reply.
This patch solves the issue perfectly.
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-06-28