mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
8ba8fef8ac
The current fake_ctdbd code for reloading the nodes file overruns the allocation when adding a deleted node at the end. This is a very unlikely case, but it might as well work. Check the size of the internal node map when marking a node deleted. Also, update the code that adds a node to correctly set the deleted flag when appropriate. The included test case tests this. Signed-off-by: Martin Schwenke <mschwenke@ddn.com> Reviewed-by: Guenther Deschner <gd@samba.org> Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Wed Jul 17 00:06:53 UTC 2024 on atb-devel-224 |
||
---|---|---|
.. | ||
cunit | ||
eventd | ||
eventscripts | ||
onnode | ||
shellcheck | ||
takeover | ||
takeover_helper | ||
tool |