[PATCH] Avoid infinite recursion in KCC

Clive Ferreira cliveferreira at catalyst.net.nz
Mon Nov 7 03:12:53 UTC 2016


Hi,

Included in these patches are a fix by Douglas Bagnall to correct a mix
up made between a str and an object which caused infinite recursion and
a method call on a None type.

I added a test patch which uses a database dump file which originally
triggered this edge case. This database consists of 5 unconnected DCs,
and the bug is triggered by code to create additional edges which
normally never ran. In normal cases, the leftover connections made
during a join would prevent these additional edges from being created.

cheers


Clive
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: KCC-unconnected-graph-test.patch
Type: text/x-patch
Size: 31128 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20161107/dc5f3a19/KCC-unconnected-graph-test.bin>


More information about the samba-technical mailing list