diff options
author | Daniel Stenberg <daniel@haxx.se> | 2009-05-25 12:23:22 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2009-05-25 12:23:22 +0000 |
commit | 1cf6c15ab43ce41fa99e3776d0c23ed4f66196a8 (patch) | |
tree | 98fee2fa2d878aeec071eb54cb162bf1fe898236 /tests/data/test8 | |
parent | 8fc17ed764b9386c8a0ca58ea397db0a62cb6109 (diff) | |
download | curl-1cf6c15ab43ce41fa99e3776d0c23ed4f66196a8.tar.gz |
- 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.
Diffstat (limited to 'tests/data/test8')
-rw-r--r-- | tests/data/test8 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/data/test8 b/tests/data/test8 index 3af9c8155..959b8807e 100644 --- a/tests/data/test8 +++ b/tests/data/test8 @@ -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; |