cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_multi_remove_handle() crashes if called before transfer is complete (sftp only)

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 23 Feb 2016 09:43:05 +0100 (CET)

On Tue, 23 Feb 2016, 蔡文凱 wrote:

> I'm doing a sftp uploading with CURLOPT_LOW_SPEED_LIMIT &
> CURLOPT_LOW_SPEED_TIME set. If I call curl_multi_remove_handle() before
> transfer is complete,there will be a segmentation fault.
>
> I also find out that crash only occurs when CURLOPT_LOW_SPEED_LIMIT &
> CURLOPT_LOW_SPEED_TIME are set.

Thanks! Can you help us out and show us a complete example that repeats this
problem?

> libssh2/1.4.3

Do note that this is a fairly old libssh2 version. I don't think this problem
is because of the old libssh2 version, but lots of other problems have been
fixed since...

-- 
  / daniel.haxx.se

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