[389-devel] Please review: [Bug 539618] Replication bulk import reports Invalid read/write

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Subject: Replication bulk import reports Invalid read/write

https://bugzilla.redhat.com/show_bug.cgi?id=539618

Files:
 ldap/servers/plugins/replication/repl5.h
 ldap/servers/plugins/replication/repl5_agmt.c
 ldap/servers/plugins/replication/repl5_protocol.c
 ldap/servers/slapd/back-ldbm/ldbm_modrdn.c

Descriptions: When a protocol is freed by prot_free, prot_close
is supposed to have been called to stop the main thread
prot_thread_main.  But, there was no mechanism for the freeing
thread whether the prot_thread_main has already quitted or not,
it could have released the Repl_Protocol even though it was
still being in use.  This fix is adding a checking method.

The same test revealed ldbm_back_modrdn had a chance to access
a field of NULL entry structure.

Proposed Fix:
 -->  (https://bugzilla.redhat.com/attachment.cgi?id=395511)
git patch file


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

--
389-devel mailing list
389-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-devel

[Index of Archives]     [Fedora Directory Announce]     [Fedora Users]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Review]     [Fedora Art]     [Fedora Music]     [Fedora Packaging]     [CentOS]     [Fedora SELinux]     [Big List of Linux Books]     [KDE Users]     [Fedora Art]     [Fedora Docs]

  Powered by Linux