cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: conn->proto.ftp == NULL in Curl_ftp_done

From: Armel Asselin <asselin.armel_at_wanadoo.fr>
Date: Fri, 15 Sep 2006 14:59:03 +0200

>> add : if (ftp == NULL) return result;
>> before any use of 'ftp' variable.
>
> But the fact that 'ftp' is NULL at that point is in itself an error. The
> Curl_ftp_done() is called unconditionally after a transfer has been done
> (from Curl_done), and at that point there MUST be a SessionHandle struct
> associated with the connection.
>
> So, any chance you can stuff the code with some debug code or similar to
> find out more details around when this problem occurs?
if I can repeat the error in a predicitive way i will.

Armel
Received on 2006-09-15