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

(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;

Regards,
Bruno.