[Fedora-directory-devel] Please Review: (474945) Adding duplicate schema over LDAP triggers assertion in attrsyntax

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

 



https://bugzilla.redhat.com/show_bug.cgi?id=474945
Resolves: bug 474945
Bug Description: An assertion is triggered when adding a duplicate attribute
 to the schema over LDAP in a debug build.
Reviewed by: ???
Files: see diff
Branch: HEAD
Fix Description: We were calling attr_syntax_delete() on a syntax that we
 fetched using attr_syntax_get_by_name_locking_optional().

 You are supposed to use attr_syntax_return() when you are finished with a
syntax that you fetch in this way, which will take care of freeing it if it is required. There was already code that was doing the proper thing, so the call
 to attr_syntax_delete() can simply be removed.
Platforms tested: RHEL5
Flag Day: no
Doc impact: no
https://bugzilla.redhat.com/attachment.cgi?id=329387&action=diff

--
Fedora-directory-devel mailing list
Fedora-directory-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-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