https://bugzilla.samba.org/show_bug.cgi?id=5105

David Collier-Brown davec-b at rogers.com
Sun Mar 29 14:49:59 GMT 2009


Volker Lendecke wrote:
> Hi!
>
> Now that we have bugzilla bugging me every day about "my"
> bugs, I'd like to raise $SUBJECT again. It contains a change
> to tdb to bail out if a hash chain is longer than one
> million elements and the freelist is longer than ten million
> elements. This is intended as a measure against corruped
> tdbs making smbd chew 100% CPU forever, but it might
> invalidate some valid (but pretty slow) tdb files.
>
> Comments?
>
> Volker
>   
You might keep a copy of the previous chain length when you add,
and warn if it goes from, say, 26 to 10240 (;-))

--dave

-- 
David Collier-Brown,         | Always do right. This will gratify
System Programmer and Author | some people and astonish the rest
davecb at spamcop.net           |                      -- Mark Twain
(416) 223-8968



More information about the samba-technical mailing list