aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test266
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2012-09-28 13:56:03 +0200
committerDaniel Stenberg <daniel@haxx.se>2012-09-28 13:57:41 +0200
commit628c4e7af1a28ea2d8463a29d59a58d30eb1f710 (patch)
treeebd8f980c391f3dbb5f127b386f38b9b7ed7d4c1 /tests/data/test266
parent4ea7a65af725d0530a173b080acb6cb6db5432b3 (diff)
Curl_reconnect_request: clear pointer on failure
The Curl_reconnect_request() function could end up returning a pointer to a free()d struct when Curl_done() failed inside. Clearing the pointer unconditionally after Curl_done() avoids this risk. Reported by: Ho-chi Chen Bug: http://curl.haxx.se/mail/lib-2012-09/0188.html
Diffstat (limited to 'tests/data/test266')
0 files changed, 0 insertions, 0 deletions