tight loop in tdb_find()

Andrew Bartlett abartlet at samba.org
Fri May 22 00:27:40 GMT 2009

On Thu, 2009-05-21 at 14:41 -0400, Jim McDonough wrote:
> Attached is a patch to 3.3 which will bail out of a tight infinite
> loop in tdb_find().  I'm sending back the error code as
> TDB_ERR_CORRUPT.  Make sense?

This is only a problem on old databases, right?  That is, with
transactional tdb, shouldn't this be impossible?

(Not that I object to checking for the impossible anyway, even if we had
implemented transactions since the start, but I just wanted to ensure I
understood the problem space)

Andrew Bartlett
Andrew Bartlett
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20090522/cd6c5500/attachment.bin

More information about the samba-technical mailing list