Browse Source

Ticket 47509 - Cleanallruv jenkins error

Fixed invalid array element that was out of bounds.

https://fedorahosted.org/389/ticket/47509
Mark Reynolds 12 years ago
parent
commit
24bec17a92
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ldap/servers/plugins/replication/repl5_replica_config.c

+ 1 - 1
ldap/servers/plugins/replication/repl5_replica_config.c

@@ -2527,7 +2527,7 @@ delete_cleaned_rid_config(cleanruv_data *clean_data)
                 /*
                  *  Now delete the attribute
                  */
-                vals[5] = NULL;
+                vals[4] = NULL;
                 mod.mod_op  = LDAP_MOD_DELETE|LDAP_MOD_BVALUES;
                 mod.mod_type = (char *)type_replicaCleanRUV;
                 mod.mod_bvalues = vals;