Blame SOURCES/0015-Ticket-47509-Cleanallruv-jenkins-error.patch

ba46c7
From 6d7e8a82b045ff2184605c61117130c2202c0aa0 Mon Sep 17 00:00:00 2001
ba46c7
From: Mark Reynolds <mreynolds@redhat.com>
ba46c7
Date: Mon, 23 Sep 2013 12:21:15 -0400
ba46c7
Subject: [PATCH 15/28] Ticket 47509 - Cleanallruv jenkins error
ba46c7
ba46c7
Fixed invalid array element that was out of bounds.
ba46c7
ba46c7
https://fedorahosted.org/389/ticket/47509
ba46c7
(cherry picked from commit 24bec17a925c99fe5a655f983e53fc72a34c69ac)
ba46c7
(cherry picked from commit 023e1889758cdd2b3a215414180e7f1fdfd8aa5f)
ba46c7
---
ba46c7
 .../plugins/replication/repl5_replica_config.c     |    2 +-
ba46c7
 1 files changed, 1 insertions(+), 1 deletions(-)
ba46c7
ba46c7
diff --git a/ldap/servers/plugins/replication/repl5_replica_config.c b/ldap/servers/plugins/replication/repl5_replica_config.c
ba46c7
index fb0b746..94c23c0 100644
ba46c7
--- a/ldap/servers/plugins/replication/repl5_replica_config.c
ba46c7
+++ b/ldap/servers/plugins/replication/repl5_replica_config.c
ba46c7
@@ -2453,7 +2453,7 @@ delete_cleaned_rid_config(cleanruv_data *clean_data)
ba46c7
                 /*
ba46c7
                  *  Now delete the attribute
ba46c7
                  */
ba46c7
-                vals[5] = NULL;
ba46c7
+                vals[4] = NULL;
ba46c7
                 mod.mod_op  = LDAP_MOD_DELETE|LDAP_MOD_BVALUES;
ba46c7
                 mod.mod_type = (char *)type_replicaCleanRUV;
ba46c7
                 mod.mod_bvalues = vals;
ba46c7
-- 
ba46c7
1.7.1
ba46c7