New commits:
commit b1cf50c597dd7c026a73151db90c5f55ddb90d0d
Author: Andrew Cagney <[email protected]>
Date: Fri Oct 22 14:25:14 2021 -0400
lists: replace entry=list_entry(info,data) with
init_list_entry(info,data,entry)
And strictly enforce that the entry is uninitialized.
Help prevent this ticking timebomb:
t = connection() // t->list_entry = ...
insert(t->list_entry)
i = instantiate(t) // clone(t); i->list_entry = ...
insert(i->list_entry) // double insert!
(While the hash table code was OK, this forces the clone
function to explicitly zero the cloned lists)
Need to get rid of the clone() function.
_______________________________________________
Swan-commit mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan-commit