1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

- Michael Wallner fixed a NULL pointer deref when calling

curl_easy_setup(curl, CURLOPT_COOKIELIST, "SESS") on a CURL handle with no
  cookies data.
This commit is contained in:
Daniel Stenberg 2009-01-13 22:21:14 +00:00
parent 0761e60a4a
commit a19e02be5e
4 changed files with 14 additions and 6 deletions

View File

@ -8,6 +8,10 @@
Daniel Stenberg (13 Jan 2009)
- Michael Wallner fixed a NULL pointer deref when calling
curl_easy_setup(curl, CURLOPT_COOKIELIST, "SESS") on a CURL handle with no
cookies data.
- Stefan Teleman brought a patch to fix the default curlbuild.h file for the
SunPro compilers.

View File

@ -46,6 +46,7 @@ This release includes the following bugfixes:
o rare Location: follow bug with the multi interface
o the configure script can now detect gnutls with pkg-config
o curlbuild.h was adjusted for SunPro compilers
o CURLOPT_COOKIELIST set to "SESS" on an easy handle with no cookies data
This release includes the following known bugs:
@ -58,6 +59,6 @@ advice from friends like these:
Markus Koetter, Josef Wolf, Vlad Grachov, Pawel Kierski, Igor Novoseltsev,
Fred Machado, Ken Hirsch, Keshav Krity, Patrick Monnerat, Mark Karpeles,
Anthony Bryan, Peter Korsgaard, Phil Lisiecki, Bas Mevissen, Rob Crittenden,
Emil Romanus, Karl Moerder, Daniel Black, Stefan Teleman
Emil Romanus, Karl Moerder, Daniel Black, Stefan Teleman, Michael Wallner
Thanks! (and sorry if I forgot to mention someone)

View File

@ -1,8 +1,6 @@
To be addressed in 7.19.3 (planned release: January 2009)
=========================
209 - [PATCH] Curl_cookie_clearsess segfaults on new handle
210 - [PATCH] TFTP: Fix Connect and Transfer Timeout Behavior
211 - Building and using static libcurl on Windows with VS2008
@ -21,4 +19,9 @@ To be addressed in 7.19.4 (planned release: March 2009)
208 - Patch to allow GSSAPI authentication to a socks5 server
214 -
214 - progress bar prefix, second try (for the curl tool)
215 - Patch for Metalink Support (for the curl tool)
216 -

View File

@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
* Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
* Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@ -878,7 +878,7 @@ void Curl_cookie_clearsess(struct CookieInfo *cookies)
{
struct Cookie *first, *curr, *next, *prev = NULL;
if(!cookies->cookies)
if(!cookies->cookies || !cookies->cookies)
return;
first = curr = prev = cookies->cookies;