mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-03-11 05:48:41 +00:00
BUG/MINOR: ssl: fix deinit of the ca-file tree
Commitb0c4827
("BUG/MINOR: ssl: free the cafile entries on deinit") introduced a double free. The node was never removed from the tree before its free. Fix issue #1836. Must be backported whereb0c4827
was backported. (2.6 for now).
This commit is contained in:
parent
3a56137048
commit
946580e17a
@ -3908,6 +3908,7 @@ void ckch_deinit()
|
||||
|
||||
entry = ebmb_entry(canode, struct cafile_entry, node);
|
||||
canode = ebmb_next(canode);
|
||||
ebmb_delete(&entry->node);
|
||||
ssl_store_delete_cafile_entry(entry);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user