cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_multi_remove_handle closes easy handle, causes crash

From: <johansen_at_opensolaris.org>
Date: Wed, 24 Mar 2010 17:22:25 -0700

On Tue, Mar 23, 2010 at 01:10:57PM +0100, Daniel Stenberg wrote:
> On Tue, 23 Mar 2010, Daniel Stenberg wrote:
>
> >>I have attached my test program. I don't know of any public FTP
> >>servers, but I have tested it with 3 different ones and the
> >>server does not seem to matter. Simply change the code of the
> >>function initEasyRequest and enter the login details of any FTP
> >>server and it should work (or rather, crash).
> >
> >Update: I can repeat the problem based on your example app, thanks
> >a lot. I'm working on trying to understand it properly to make the
> >accurate fix. Stay tuned!
>
> Here's my suggested fix that makes the test program run fine for me
> (and all test cases too). I intend to commit and push to the git
> repo within shortly.

Out of curiosity, is this crash only present when using FTP, or is it
possible to hit this using other protocols too?

-j
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-03-25