#1085 curl_easy_reset does not clear cached referer pointer

closed-fixed
libcurl (356)
5
2013-06-21
2012-01-30
Michael Day
No

curl_easy_reset clears all the saved user data, including the CURLOPT_REFERER string.

However, a pointer to this string has been saved in the change.referer field, which is not cleared. This can cause problems if another request is made without the user explicitly resetting CURLOPT_REFERER.

Suggested fix: clear the cached change.referer field (and any other similar fields) when curl_easy_reset is called.

Discussion

  • Daniel Stenberg

    Daniel Stenberg - 2012-02-07
    • milestone: --> bad_behaviour
    • status: open --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks