]> granicus.if.org Git - curl/commit
CURLOPT_COOKIELIST: take cookie share lock
authorDaniel Stenberg <daniel@haxx.se>
Mon, 17 Jun 2013 21:29:05 +0000 (23:29 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 17 Jun 2013 21:29:05 +0000 (23:29 +0200)
commit7ac3e9f1ba7c96d32a46c72edb5819c4a342a31f
tree21a9c69e9e2b886641d4f73a52cb62b46a3d5af8
parent03a3dd9ee39e2ca4eea101360ae976e13586c01a
CURLOPT_COOKIELIST: take cookie share lock

When performing COOKIELIST operations the cookie lock needs to be taken
for the cases where the cookies are shared among multiple handles!

Verified by Benjamin Gilbert's updated test 506

Bug: http://curl.haxx.se/bug/view.cgi?id=1215
Reported-by: Benjamin Gilbert
lib/url.c