cURL / Mailing Lists / curl-library / Single Mail

curl-library

Curl_getoff_all_pipelines SIGSEGV

From: Lénaïc Lefever <lenaic.lefever_at_gmail.com>
Date: Fri, 1 May 2009 22:46:14 +0200

Hi,

In the Curl_done method in url.c (curl-7.19.4), the
Curl_getoff_all_pipelines call happens before the conn->bits.done check.

Wouldn't it be safer to check for conn->bits.done before calling
Curl_getoff_all_pipelines to avoid possible SIGSEGVs?

Kind regards,
Lénaïc
Received on 2009-05-01