https://bugs.openldap.org/show_bug.cgi?id=10032
Issue ID: 10032 Summary: at_add returns a free'd pointer on error 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 an invalid schema is provided (e.g. the current ./servers/slapd/schema/msuser.schema of memberof/dynlist is loaded already), at_add() hits error handling and frees at->at_oid, but that string is being returned in *err. A fix is coming.
https://bugs.openldap.org/show_bug.cgi?id=10032
Ondřej Kuzník ondra@mistotebe.net changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.openldap.org/s | |how_bug.cgi?id=10031
https://bugs.openldap.org/show_bug.cgi?id=10032
--- Comment #1 from Ondřej Kuzník ondra@mistotebe.net --- This is caused by ITS#8977 changing the members of mdbocs. But pcache (wrongly?) expects that cm->db.bd_info->bi_cf_ocs would be the DB config objectclass and not the one for its backend.
https://bugs.openldap.org/show_bug.cgi?id=10032
--- Comment #2 from Ondřej Kuzník ondra@mistotebe.net --- (Wrong ticket in comment #1, sorry)
https://bugs.openldap.org/show_bug.cgi?id=10032
Ondřej Kuzník ondra@mistotebe.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@openldap.org |ondra@mistotebe.net Ever confirmed|0 |1 Status|UNCONFIRMED |IN_PROGRESS
--- Comment #3 from Ondřej Kuzník ondra@mistotebe.net --- https://git.openldap.org/openldap/openldap/-/merge_requests/611
https://bugs.openldap.org/show_bug.cgi?id=10032
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.5.15 Keywords|needs_review |
https://bugs.openldap.org/show_bug.cgi?id=10032
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|IN_PROGRESS |RESOLVED
--- Comment #4 from Quanah Gibson-Mount quanah@openldap.org --- head:
• 6c216497 by Ondřej Kuzník at 2023-03-31T04:48:17+00:00 ITS#10032 Use the correct ocs field
RE26:
• 9945f19a by Ondřej Kuzník at 2023-04-27T15:42:09+00:00 ITS#10032 Use the correct ocs field
RE25:
• 5fedf314 by Ondřej Kuzník at 2023-04-27T15:43:55+00:00 ITS#10032 Use the correct ocs field
https://bugs.openldap.org/show_bug.cgi?id=10032
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED