https://bugs.openldap.org/show_bug.cgi?id=10473
Issue ID: 10473 Summary: syncprov leaks response controls Product: OpenLDAP Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Keywords: needs_review Severity: normal Priority: --- Component: overlays Assignee: bugs@openldap.org Reporter: ondra@mistotebe.net Target Milestone: ---
syncprov_state_ctrl and syncprov_done_ctrl add controls to the response, but noone cares to free them afterwards assuming they are allocated from the slab. If there are many messages sent in a single run, this takes up fresh memory that's leaked eventually.
See its8800 regression test for an example where this happens.
https://bugs.openldap.org/show_bug.cgi?id=10473
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.6.14 Assignee|bugs@openldap.org |ondra@mistotebe.net Keywords|needs_review |
https://bugs.openldap.org/show_bug.cgi?id=10473
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |TEST
--- Comment #1 from Quanah Gibson-Mount quanah@openldap.org --- head:
• 87197f91 by Ondřej Kuzník at 2026-04-10T03:15:42+00:00 ITS#10473 Make sure sync control data gets freed
RE26:
• 7d9b5999 by Ondřej Kuzník at 2026-04-21T15:57:19+00:00 ITS#10473 Make sure sync control data gets freed
https://bugs.openldap.org/show_bug.cgi?id=10473
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED Resolution|TEST |FIXED