cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_multi_remove_handle closes easy handle, causes crash

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 25 Mar 2010 19:57:21 +0100 (CET)

On Wed, 24 Mar 2010, johansen_at_opensolaris.org wrote:

>> 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?

This particular bug could happen with all protocols that have "actions"
(commands that are sent to the server) immediately before disconnect. Those
are FTP, IMAP and POP3. (PROT_CLOSEACTION in urldate.h is set to include those
protocol bits.)

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