]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/sasl.c
ITS#6758 Avoid SlapReply reuse.
[openldap] / servers / slapd / sasl.c
index f83d605d6c5289c5f39bf34434e4ba72bce8f00c..c357d2d86c0df128e75c052cc4507ade60e25266 100644 (file)
@@ -509,7 +509,6 @@ slap_auxprop_store(
 {
        Operation op = {0};
        Opheader oph;
-       SlapReply rs = {REP_RESULT};
        int rc, i;
        unsigned j;
        Connection *conn = NULL;
@@ -624,6 +623,7 @@ slap_auxprop_store(
                        op.orm_modlist = modlist;
 
                        for (;;) {
+                               SlapReply rs = {REP_RESULT};
                                rc = op.o_bd->be_modify( &op, &rs );
 
 #ifdef SLAP_AUXPROP_DONTUSECOPY