cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: NULL dereference in Curl_done

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 9 Mar 2013 18:07:56 +0100 (CET)

On Wed, 6 Mar 2013, Hu, Eric wrote:

> I think something similar in multi_runsingle() would do the trick. Though
> I'm not quite sure if the Curl_posttransfer() call there is still needed, so
> perhaps the conditional should go inside the else.

Thanks, great catch!

Can you just verify that the attached patch would fix the flaw you're seeing?

-- 
  / daniel.haxx.se


-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2013-03-09