https://bugs.openldap.org/show_bug.cgi?id=9809
Issue ID: 9809 Summary: slapo-pcache: incorrect call to monitor unregister_entry Product: OpenLDAP Version: 2.4.18 Hardware: All OS: All Status: UNCONFIRMED Keywords: needs_review Severity: normal Priority: --- Component: overlays Assignee: bugs@openldap.org Reporter: hyc@openldap.org Target Milestone: ---
Also an incorrect check for whether monitoring was initialized, thus calling unregister_entry_callback when there's nothing to unregister. The incorrect call causes a SEGV.
The incorrect call is also present in back-mdb, but never invoked because it correctly sees there's nothing to unregister.
https://bugs.openldap.org/show_bug.cgi?id=9809
Howard Chu hyc@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |IN_PROGRESS
--- Comment #1 from Howard Chu hyc@openldap.org --- (incorrect code was added in 60f788659b4, ITS#5178, ITS#6152)
https://git.openldap.org/openldap/openldap/-/merge_requests/506
https://bugs.openldap.org/show_bug.cgi?id=9809
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@openldap.org |hyc@openldap.org Target Milestone|--- |2.5.12 Keywords|needs_review |
https://bugs.openldap.org/show_bug.cgi?id=9809
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- head:
• e29ba72c by Howard Chu at 2022-03-15T17:04:42+00:00 ITS#9809: pcache, mdb: fix SEGV in monitor shutdown
https://bugs.openldap.org/show_bug.cgi?id=9809
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|IN_PROGRESS |RESOLVED
--- Comment #3 from Quanah Gibson-Mount quanah@openldap.org --- RE26:
• 0d430d31 by Howard Chu at 2022-03-21T16:43:59+00:00 ITS#9809: pcache, mdb: fix SEGV in monitor shutdown
RE25:
• a4246046 by Howard Chu at 2022-03-21T16:48:55+00:00 ITS#9809: pcache, mdb: fix SEGV in monitor shutdown
https://bugs.openldap.org/show_bug.cgi?id=9809
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED