diff options
| author | Noriko Hosoi <nhosoi@redhat.com> | 2010-06-29 18:12:03 -0700 |
|---|---|---|
| committer | Noriko Hosoi <nhosoi@redhat.com> | 2010-07-07 17:16:09 -0700 |
| commit | bf8eea7abd6cc73055568c81a42a7822a2bbfd60 (patch) | |
| tree | ba11b579dc94510b35501c7ef2df5a143a428782 | |
| parent | c6b4998638f5f0fa2726a59d9dc00e2255b08e8b (diff) | |
| download | ds-bf8eea7abd6cc73055568c81a42a7822a2bbfd60.tar.gz ds-bf8eea7abd6cc73055568c81a42a7822a2bbfd60.tar.xz ds-bf8eea7abd6cc73055568c81a42a7822a2bbfd60.zip | |
609255 - fix coverity Defect Type: Memory - illegal accesses issues
https://bugzilla.redhat.com/show_bug.cgi?id=609255
12221 UNINIT Triaged Unassigned Bug Minor Fix Required
create_NSDS50ReplicationExtopPayload() ds/ldap/servers/plugins/replication/repl_extop.c
Comment:
unlikely to cause a problem, but we should init repl_obj to NULL
| -rw-r--r-- | ldap/servers/plugins/replication/repl_extop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ldap/servers/plugins/replication/repl_extop.c b/ldap/servers/plugins/replication/repl_extop.c index 0f4d8001..9260a4ca 100644 --- a/ldap/servers/plugins/replication/repl_extop.c +++ b/ldap/servers/plugins/replication/repl_extop.c @@ -112,7 +112,7 @@ create_ReplicationExtopPayload(const char *protocol_oid, struct berval *req_data = NULL; BerElement *tmp_bere = NULL; int rc = 0; - Object *repl_obj, *ruv_obj = NULL; + Object *repl_obj = NULL, *ruv_obj = NULL; Replica *repl; RUV *ruv; Slapi_DN *sdn = NULL; |
