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