https://bugs.openldap.org/show_bug.cgi?id=9976
Issue ID: 9976 Summary: ldap_sasl_bind_s man page missing details on freeing the returned servercredp parameter Product: OpenLDAP Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Keywords: needs_review Severity: normal Priority: --- Component: documentation Assignee: bugs@openldap.org Reporter: wmjchs@hotmail.com Target Milestone: ---
Source code for ldap_sasl_bind_s shows that the parameter is to be freed via ber_bvfree when no longer used. (https://git.openldap.org/openldap/openldap/-/blob/master/libraries/libldap/s...)
However, the documentation (https://www.openldap.org/software/man.cgi?query=ldap_sasl_bind_s&apropos...) makes no mention of this.
The following sources also omitted this information: https://linux.die.net/man/3/ldap_sasl_bind_s https://www.ibm.com/docs/en/i/7.4?topic=ssw_ibm_i_74/apis/ldap_sasl_bind_s.h... https://learn.microsoft.com/en-us/windows/win32/api/winldap/nf-winldap-ldap_...
While the following didn't: https://www.novell.com/documentation/developer/cldap/ldaplibc/data/a401rtp.h... https://www.ibm.com/docs/en/zos/2.3.0?topic=routines-ldap-sasl-bind-ldap-sas... https://docs.oracle.com/cd/E19957-01/817-6707/functions.html#wp57022
https://bugs.openldap.org/show_bug.cgi?id=9976
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 --- Fixed in https://git.openldap.org/openldap/openldap/-/merge_requests/590
Not really important since callers are explicitly encouraged to use ldap_sasl_interactive_bind, not ldap_sasl_bind.
https://bugs.openldap.org/show_bug.cgi?id=9976
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.5.14
https://bugs.openldap.org/show_bug.cgi?id=9976
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Keywords|needs_review | Resolution|--- |FIXED
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- head:
• e2727bb8 by Howard Chu at 2023-01-10T15:14:16+00:00 ITS#9976 doc: ldap_sasl_bind: mention ber_bvfree
RE26:
• 485c849d by Howard Chu at 2023-01-19T17:44:27+00:00 ITS#9976 doc: ldap_sasl_bind: mention ber_bvfree
RE25:
• 3aefdea4 by Howard Chu at 2023-01-19T17:45:07+00:00 ITS#9976 doc: ldap_sasl_bind: mention ber_bvfree
https://bugs.openldap.org/show_bug.cgi?id=9976
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@openldap.org |hyc@openldap.org
https://bugs.openldap.org/show_bug.cgi?id=9976
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED