[Samba] ctdb error after upgrade to 4.12.10
jra at samba.org
Tue Nov 10 18:29:26 UTC 2020
On Tue, Nov 10, 2020 at 06:20:45PM +0100, Günther Deschner wrote:
> Hi Jeremy,
> I'm afraid this is indeed caused by the talloc tidyup as one can perfectly
> reproduce it wih the following patch for smbtorture (call bin/smbtorture
> ncacn_np:lo local.file.file_lines_parse). I guess we need to set up some
> warning signs around file_lines_parse() expressing that it takes talloced
> content and that one should not free the separated lines array separately.
Guenther, here's my change that goes on top of your test.
I'll submit a MR with both our patches, if you could
test with a glusterfs setup I'd appreciate it.
More information about the samba