[Freeipa-devel] [PATCH 0205] Fix race condition during write to internal RBTDB

Petr Spacek pspacek at redhat.com
Fri Dec 13 16:44:59 UTC 2013


On 11.11.2013 13:03, Petr Spacek wrote:
> Hello,
>
> Fix race condition during write to internal RBTDB.
>
> RBTDB implementation allows to open only one RBTDB instance
> for writing at the same time. This patch adds mutex to
> newversion() implementation in ldap_driver.c.
>
> See comments around ldapdb_t, newversion() and closeversion().

I'm attaching rebased patch.

This patch should go to master branch.

-- 
Petr^2 Spacek

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-dyndb-ldap-pspacek-0205-2-Fix-race-condition-during-write-to-internal-RBTDB.patch
Type: text/x-patch
Size: 7903 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20131213/08ac73f7/attachment.bin>


More information about the Freeipa-devel mailing list