https://bugs.openldap.org/show_bug.cgi?id=9799
Issue ID: 9799 Summary: Clearing pending ops on Bind Product: OpenLDAP Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Keywords: needs_review Severity: normal Priority: --- Component: slapd Assignee: bugs@openldap.org Reporter: ondra@mistotebe.net Target Milestone: ---
When slapd receives some operations before it has started processing a queued bind, those get added into conn->c_ops_pending and c_n_pending_ops is updated accordingly.
Bind then eventually invokes connection_abandon() which forgets to zero out c_n_pending_ops and the connection remains unusable forever.
https://bugs.openldap.org/show_bug.cgi?id=9799
Ondřej Kuzník ondra@mistotebe.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs_review | Target Milestone|--- |2.5.12 Assignee|bugs@openldap.org |ondra@mistotebe.net Status|UNCONFIRMED |IN_PROGRESS Ever confirmed|0 |1
--- Comment #1 from Ondřej Kuzník ondra@mistotebe.net --- https://git.openldap.org/openldap/openldap/-/merge_requests/495
https://bugs.openldap.org/show_bug.cgi?id=9799
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- head:
• 0806f69c by Ondřej Kuzník at 2022-02-14T17:32:01+00:00 ITS#9799 Clear c_n_ops_pending after we've flushed c_pending_ops
https://bugs.openldap.org/show_bug.cgi?id=9799
--- Comment #3 from Quanah Gibson-Mount quanah@openldap.org --- RE26:
• 13095063 by Ondřej Kuzník at 2022-02-18T23:17:02+00:00 ITS#9799 Clear c_n_ops_pending after we've flushed c_pending_ops
https://bugs.openldap.org/show_bug.cgi?id=9799
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED
--- Comment #4 from Quanah Gibson-Mount quanah@openldap.org --- RE25:
• d3151db2 by Ondřej Kuzník at 2022-02-18T23:17:52+00:00 ITS#9799 Clear c_n_ops_pending after we've flushed c_pending_ops
https://bugs.openldap.org/show_bug.cgi?id=9799
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED
https://bugs.openldap.org/show_bug.cgi?id=9799
--- Comment #5 from Quanah Gibson-Mount quanah@openldap.org --- head:
34ebfac7efd2493f8f4db700b19145986f5112fe by Ondřej Kuzník at 2022-06-07T15:58:05+00:00 ITS#9799 Drop a bind connection if there's a timeout
RE26 (2.6.3):
• de7ef519 by Ondřej Kuzník at 2022-06-07T15:58:05+00:00 ITS#9799 Drop a bind connection if there's a timeout
RE25 (2.5.13):
• be8f7430 by Ondřej Kuzník at 2022-06-07T16:00:23+00:00 ITS#9799 Drop a bind connection if there's a timeout