diff options
author | Volker Lendecke <vl@samba.org> | 2015-09-08 07:46:35 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2015-09-08 10:45:15 +0200 |
commit | facb11b61a6cd322c8b4c42ca2caefe0c509c37c (patch) | |
tree | e94e62f3c9811b1ffba4d6f1161218b532e25700 /source4/dsdb | |
parent | 6b44ce64242a2f3fe879e59d2337c6801357390b (diff) | |
download | samba-facb11b61a6cd322c8b4c42ca2caefe0c509c37c.tar.gz |
samdb: Fix CID 1034736 Dereference after null check
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source4/dsdb')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/operational.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/operational.c b/source4/dsdb/samdb/ldb_modules/operational.c index 839023070db..c5fd8e27887 100644 --- a/source4/dsdb/samdb/ldb_modules/operational.c +++ b/source4/dsdb/samdb/ldb_modules/operational.c @@ -462,7 +462,7 @@ static int construct_msds_isrodc_with_dn(struct ldb_module *module, ldb = ldb_module_get_ctx(module); if (!ldb) { DEBUG(4, (__location__ ": Failed to get ldb \n")); - return ldb_operr(ldb); + return LDB_ERR_OPERATIONS_ERROR; } dn = ldb_dn_new(msg, ldb, (const char *)object_category->values[0].data); |