cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl crahes when an SFTP server's home directory is non-exist

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 27 Jun 2016 16:56:56 +0200 (CEST)

On Fri, 17 Jun 2016, Daniel Stenberg wrote:

> On Fri, 17 Jun 2016, $BCHOBE*OBCH(J _ 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?

-- 
  / daniel.haxx.se

-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-06-27