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

Re: (ITS#6810) testing a fix.



> Hi, all
> just testing with that fix for now...
>
> --- openldap-2.4.23.orig/servers/slapd/overlays/syncprov.c
> 2010-06-10 20:50:48.000000000 +0200
> +++ openldap-2.4.23.p1/servers/slapd/overlays/syncprov.c
> 2011-02-08 19:33:10.000000000 +0100
> @@ -1292,7 +1292,8 @@
>                         }
>                 }
>
> -               if ( fc.fscope ) {
> +               /* (ITS#6810) make sure ors_filter != NULL here */
> +               if ( fc.fscope && ss->s_op->ors_filter ) {
>                         op2 = *ss->s_op;
>                         oh = *op->o_hdr;
>                         oh.oh_conn = ss->s_op->o_conn;

That *should* never be NULL, AFAIK.  Is the issue reproducible?  If it is,
could you run the failing machine under valgrind --tool=memcheck
--leak-check=full?

p.