cURL / Mailing Lists / curl-library / Single Mail

curl-library

reading NULL pointer error

From: Dmitriy Sergeyev <dsergeyev_at_issart.com>
Date: Tue, 7 Nov 2006 16:39:28 +0600

Greetings.

Here I am again with my favourite test cases.
Now the first FTP transfer is good and the second is trying to connect
to non-existent server. Both using the same easy handle.
After that on curl_multi_cleanup call I have got access to NULL
pointer location in Curl_disconnect() :
  if(-1 != conn->connectindex) {
    /* unlink ourselves! */
    infof(data, "Closing connection #%ld\n", conn->connectindex);
    data->state.connc->connects[conn->connectindex] = NULL;
  }

 The data->state.connc == NULL.

Test case is attached. Works good with 7.15.5 . Fails with 7.16.0 and
last CVS version.

-- 
Best regards,
Dmitriy Sergeyev
C++ Developer of
ISS Art, Ltd., Omsk, Russia.
http://issart.com
http://issart.com/index/Portfolio/cpp&lang=eng

Received on 2006-11-07