In cookie.c, line 912, version 7.19.7

It reads:

  if(!cookies->cookies || !cookies->cookies)
    return;

It should read:

  if(!cookies || !cookies->cookies)
    return;

I can be demonstrated by a segmentation fault if you do this:

CURL * eh=curl_easy_init();
curl_easy_setopt(eh,CURLOPT_COOKIELIST,"SESS");
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to