ldap/servers/plugins/replication/repl5_updatedn_list.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
New commits:
commit f06f76e027c987afbc40f684c83057b338e817ff
Author: Ludwig Krispenz <lkrispen(a)redhat.com>
Date: Wed Apr 16 08:41:19 2014 +0200
fix assertion failure introduced with fix for ticket 47667
diff --git a/ldap/servers/plugins/replication/repl5_updatedn_list.c
b/ldap/servers/plugins/replication/repl5_updatedn_list.c
index 969505e..abf9a92 100644
--- a/ldap/servers/plugins/replication/repl5_updatedn_list.c
+++ b/ldap/servers/plugins/replication/repl5_updatedn_list.c
@@ -116,8 +116,13 @@ replica_updatedn_group_new(const Slapi_Entry *entry)
ReplicaUpdateDNList
replica_groupdn_list_new(const Slapi_ValueSet *vs)
{
+ PLHashTable *hash;
+
+ if (vs == NULL) {
+ return NULL;
+ }
/* allocate table */
- PLHashTable *hash = PL_NewHashTable(4, PL_HashString, PL_CompareStrings,
+ hash = PL_NewHashTable(4, PL_HashString, PL_CompareStrings,
updatedn_compare_dns, NULL, NULL);
if (hash == NULL) {
slapi_log_error(SLAPI_LOG_FATAL, repl_plugin_name,
"replica_new_updatedn_list: "
Show replies by thread