[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#6101) Uninitialized SlapReply components



I wrote:
> We need to check
>    grep -nH -e 'SlapReply[<tab> ]*[a-zA-Z]' *.c */*.c
> for other cases.

Not for this ITS.  Just moved sru_search first in the union.
It's not always clear to me which code is responsible for
initializing SlapReply anyway.  Fixed two other simple cases:
- result.c:send_ldap_disconnect() should reset rs->sr_rspdata.
- sasl.c: should (re)set rs->sr_sasldata before
  doing send_ldap_sasl().

-- 
Hallvard