mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-04-21 14:35:45 +00:00
BUG/MINOR: ssl: Clear the ckch instance when deleting a crt-list line
When deleting a crt-list line through a "del ssl crt-list" call on the CLI, we ended up free'ing the corresponding ckch instances without fully clearing their contents. It left some dangling references on other objects because the attache SSL_CTX was not deleted, as well as all the ex_data referenced by it (OCSP responses for instance). This patch can be backported up to branch 2.4.
This commit is contained in:
parent
28e78a0a74
commit
23cab33b67
@ -1530,7 +1530,7 @@ static int cli_parse_del_crtlist(char **args, char *payload, struct appctx *appc
|
|||||||
LIST_DELETE(&link_ref->list);
|
LIST_DELETE(&link_ref->list);
|
||||||
free(link_ref);
|
free(link_ref);
|
||||||
}
|
}
|
||||||
free(inst);
|
ckch_inst_free(inst);
|
||||||
}
|
}
|
||||||
|
|
||||||
crtlist_free_filters(entry->filters);
|
crtlist_free_filters(entry->filters);
|
||||||
|
Loading…
Reference in New Issue
Block a user