- bug report #2796358 (http://curl.haxx.se/bug/view.cgi?id=2796358) pointed
out that the cookie parser would leak memory when it parses cookies that are received with domain, path etc set multiple times in the same header. While such a cookie is questionable, they occur in the wild and libcurl no longer leaks memory for them. I added such a header to test case 8.
This commit is contained in:
@@ -38,6 +38,7 @@ Funny-head: yesyes
|
||||
Set-Cookie: foobar=name; domain=127.0.0.1; path=/;
|
||||
Set-Cookie: mismatch=this; domain=127.0.0.1; path="/silly/";
|
||||
Set-Cookie: partmatch=present; domain=.0.0.1; path=/;
|
||||
Set-Cookie: duplicate=test; domain=.0.0.1; domain=.0.0.1; path=/donkey;
|
||||
Set-Cookie: cookie=yes; path=/we;
|
||||
Set-Cookie: nocookie=yes; path=/WE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user