mirror of
https://github.com/samba-team/samba.git
synced 2025-01-03 01:18:10 +03:00
dsdb:mod:operational: initialise a pointer (CID 1499411)
A Coverity false positive (we check for error) but it is worth doing per README.Coding Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Jennifer Sutton <josutton@catalyst.net.nz>
This commit is contained in:
parent
e2174dde74
commit
24b0dad5b5
@ -557,7 +557,7 @@ static int construct_msds_isrodc_with_server_dn(struct ldb_module *module,
|
||||
struct ldb_dn *dn,
|
||||
struct ldb_request *parent)
|
||||
{
|
||||
struct ldb_dn *server_dn;
|
||||
struct ldb_dn *server_dn = NULL;
|
||||
const char *attr_obj_cat[] = { "objectCategory", NULL };
|
||||
struct ldb_result *res;
|
||||
struct ldb_message_element *object_category;
|
||||
@ -594,7 +594,7 @@ static int construct_msds_isrodc_with_computer_dn(struct ldb_module *module,
|
||||
struct ldb_request *parent)
|
||||
{
|
||||
int ret;
|
||||
struct ldb_dn *server_dn;
|
||||
struct ldb_dn *server_dn = NULL;
|
||||
|
||||
ret = dsdb_module_reference_dn(module, msg, msg->dn, "serverReferenceBL",
|
||||
&server_dn, parent);
|
||||
|
Loading…
Reference in New Issue
Block a user