diff options
author | Daniel Stenberg <daniel@haxx.se> | 2012-09-28 13:56:03 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2012-09-28 13:57:41 +0200 |
commit | 628c4e7af1a28ea2d8463a29d59a58d30eb1f710 (patch) | |
tree | ebd8f980c391f3dbb5f127b386f38b9b7ed7d4c1 /lib/hostsyn.c | |
parent | 4ea7a65af725d0530a173b080acb6cb6db5432b3 (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 'lib/hostsyn.c')
0 files changed, 0 insertions, 0 deletions