mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-24 14:33:16 +00:00
BUG/MINOR: ssl: Fix double free in ocsp update deinit
If the last update before a deinit happens was successful, the pointer to the httpclient in the ocsp update context was not reset while the httpclient instance was already destroyed.
This commit is contained in:
parent
a6c0a59e9a
commit
f64a05979d
@ -1273,6 +1273,7 @@ leave:
|
|||||||
}
|
}
|
||||||
if (hc)
|
if (hc)
|
||||||
httpclient_stop_and_destroy(hc);
|
httpclient_stop_and_destroy(hc);
|
||||||
|
ctx->hc = NULL;
|
||||||
free_trash_chunk(req_url);
|
free_trash_chunk(req_url);
|
||||||
free_trash_chunk(req_body);
|
free_trash_chunk(req_body);
|
||||||
task->expire = tick_add(now_ms, next_wakeup);
|
task->expire = tick_add(now_ms, next_wakeup);
|
||||||
|
Loading…
Reference in New Issue
Block a user