]> git.sur5r.net Git - openldap/commit
ITS#5340 fixes:
authorHallvard Furuseth <hallvard@openldap.org>
Thu, 10 Apr 2008 12:54:11 +0000 (12:54 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Thu, 10 Apr 2008 12:54:11 +0000 (12:54 +0000)
commit0669adf635b64175c1e86580201ca623a4416aaa
tree30e245582090670cea166ce2a31fa8493eda6fff
parenteaec3a56e4d18a9dcb16de0758b855830c49460d
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.
servers/slapd/result.c