Преглед изворни кода

Ticket 47509 - Cleanallruv jenkins error

Fixed invalid array element that was out of bounds.

https://fedorahosted.org/389/ticket/47509
Mark Reynolds пре 12 година
родитељ
комит
24bec17a92
1 измењених фајлова са 1 додато и 1 уклоњено
  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;