ldap/servers/plugins/replication/cl5_api.c | 1 -
1 file changed, 1 deletion(-)
New commits:
commit e641e988e0c51ff0377f3265fbea1a5cab86aee8
Author: Nathan Kinder <nkinder(a)redhat.com>
Date: Tue Mar 22 10:07:04 2011 -0700
Bug 689537 - (cov#10610) Fix Coverity NULL pointer dereferences
The changelog import code releases the replica object when it is
NULL, causing a NULL pointer dereference. We should not be calling
the release function if replica_obj is NULL.
diff --git a/ldap/servers/plugins/replication/cl5_api.c
b/ldap/servers/plugins/replication/cl5_api.c
index b3078b0..0e240c8 100644
--- a/ldap/servers/plugins/replication/cl5_api.c
+++ b/ldap/servers/plugins/replication/cl5_api.c
@@ -1039,7 +1039,6 @@ cl5ImportLDIF (const char *clDir, const char *ldifFile, Object
**replicas)
"failed to write operation to the changelog: "
"type: %lu, dn: %s\n",
op.operation_type, op.target_address.dn);
- object_release (replica_obj);
slapi_ch_free_string(&replGen);
operation_parameters_done (&op);
goto done;
Show replies by date