From 94f2d88ec1646054bd57640be66a1660314336b3 Mon Sep 17 00:00:00 2001 From: Mark Reynolds Date: Oct 01 2013 21:38:43 +0000 Subject: Ticket 47509 - Cleanallruv jenkins error Fixed invalid array element that was out of bounds. https://fedorahosted.org/389/ticket/47509 (cherry picked from commit 24bec17a925c99fe5a655f983e53fc72a34c69ac) (cherry picked from commit 023e1889758cdd2b3a215414180e7f1fdfd8aa5f) (cherry picked from commit 63274beb1e24529408aac84799a9ca877744d51a) --- diff --git a/ldap/servers/plugins/replication/repl5_replica_config.c b/ldap/servers/plugins/replication/repl5_replica_config.c index 0cca34e..9a0b190 100644 --- a/ldap/servers/plugins/replication/repl5_replica_config.c +++ b/ldap/servers/plugins/replication/repl5_replica_config.c @@ -2424,7 +2424,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;