https://bugs.openldap.org/show_bug.cgi?id=9359
Issue ID: 9359 Summary: syncrepl_op_modify can create invalid mods Product: OpenLDAP Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Keywords: replication Severity: normal Priority: --- Component: slapd Assignee: bugs@openldap.org Reporter: ondra@mistotebe.net Target Milestone: ---
In Delta MPR, if a modify gets delayed in reaching another server and another (later) modify has already changed that entry, its parts are checked by syncrepl_op_modify.
Replaces will then be split into a delete+add pairs so they can be resolved separately, but a bug in mods_dup happily creates an (illegal) empty add if the replace didn't contain any values.
Fix coming.
https://bugs.openldap.org/show_bug.cgi?id=9359
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |2.4.53 Status|UNCONFIRMED |RESOLVED Target Milestone|--- |2.4.54 Keywords|replication | Resolution|--- |TEST
--- Comment #1 from Quanah Gibson-Mount quanah@openldap.org --- trunk:
Commits: • 81361ed3 by Ondřej Kuzník at 2020-09-30T19:25:26+01:00 ITS#9359 Adjust test to trigger issue
• 20024d5b by Ondřej Kuzník at 2020-09-30T19:25:56+01:00 ITS#9359 Do not create an empty add
https://bugs.openldap.org/show_bug.cgi?id=9359
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|TEST |FIXED
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- • 2b5f1661 by Ondřej Kuzník at 2020-09-30T21:54:42+00:00 ITS#9359 Adjust test to trigger issue
• 78aef769 by Ondřej Kuzník at 2020-09-30T21:54:51+00:00 ITS#9359 Do not create an empty add
https://bugs.openldap.org/show_bug.cgi?id=9359
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED