andykimpe / rpms / 389-ds-base

Forked from rpms/389-ds-base 5 months ago
Clone
dc8c34
From 94f2d88ec1646054bd57640be66a1660314336b3 Mon Sep 17 00:00:00 2001
dc8c34
From: Mark Reynolds <mreynolds@redhat.com>
dc8c34
Date: Mon, 23 Sep 2013 12:21:15 -0400
dc8c34
Subject: [PATCH 107/107] Ticket 47509 - Cleanallruv jenkins error
dc8c34
dc8c34
Fixed invalid array element that was out of bounds.
dc8c34
dc8c34
https://fedorahosted.org/389/ticket/47509
dc8c34
(cherry picked from commit 24bec17a925c99fe5a655f983e53fc72a34c69ac)
dc8c34
(cherry picked from commit 023e1889758cdd2b3a215414180e7f1fdfd8aa5f)
dc8c34
(cherry picked from commit 63274beb1e24529408aac84799a9ca877744d51a)
dc8c34
---
dc8c34
 ldap/servers/plugins/replication/repl5_replica_config.c | 2 +-
dc8c34
 1 file changed, 1 insertion(+), 1 deletion(-)
dc8c34
dc8c34
diff --git a/ldap/servers/plugins/replication/repl5_replica_config.c b/ldap/servers/plugins/replication/repl5_replica_config.c
dc8c34
index 0cca34e..9a0b190 100644
dc8c34
--- a/ldap/servers/plugins/replication/repl5_replica_config.c
dc8c34
+++ b/ldap/servers/plugins/replication/repl5_replica_config.c
dc8c34
@@ -2424,7 +2424,7 @@ delete_cleaned_rid_config(cleanruv_data *clean_data)
dc8c34
                 /*
dc8c34
                  *  Now delete the attribute
dc8c34
                  */
dc8c34
-                vals[5] = NULL;
dc8c34
+                vals[4] = NULL;
dc8c34
                 mod.mod_op  = LDAP_MOD_DELETE|LDAP_MOD_BVALUES;
dc8c34
                 mod.mod_type = (char *)type_replicaCleanRUV;
dc8c34
                 mod.mod_bvalues = vals;
dc8c34
-- 
dc8c34
1.8.1.4
dc8c34