Update of /repo/OpenLDAP/pkg/ldap/servers/slapd
Modified Files:
result.c 1.312 -> 1.313
Log Message:
ITS#5340 fixes:
slap_send_ldap_result() when rs->sr_flags & REP_REF_MUSTBEFREED:
- Do not return with rs->sr_ref == <freed data>, set it to NULL instead.
- Plug memory leak when op->o_domain_scope || op->o_protocol<LDAP_VERSION3.
send_ldap_response():
- Paranoia: Reset REP_MATCHED_MUSTBEFREED and REP_REF_MUSTBEFREED,
in case the caller reuses the SlapReply without resetting the flags.
CVS Web URLs:
http://www.openldap.org/devel/cvsweb.cgi/servers/slapd/http://www.openldap.org/devel/cvsweb.cgi/servers/slapd/result.c
Changes are generally available on cvs.openldap.org (and CVSweb)
within 30 minutes of being committed.