[Samba] ctdb error after upgrade to 4.12.10

Jeremy Allison jra at samba.org
Tue Nov 10 18:33:41 UTC 2020


On Tue, Nov 10, 2020 at 10:29:26AM -0800, Jeremy Allison via samba wrote:
> 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.
> > 
> > Cheers,
> > Guenther
> 
> 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.

Never mind, I see your patch is designed to cause
a crash :-).



More information about the samba mailing list