git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b44ce6
)
samdb: Fix CID 1034736 Dereference after null check
author
Volker Lendecke
<vl@samba.org>
Tue, 8 Sep 2015 05:46:35 +0000
(07:46 +0200)
committer
Michael Adam
<obnox@samba.org>
Tue, 8 Sep 2015 08:45:15 +0000
(10:45 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source4/dsdb/samdb/ldb_modules/operational.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/samdb/ldb_modules/operational.c
b/source4/dsdb/samdb/ldb_modules/operational.c
index 839023070db3ff7c7207e054e4442a1cf34db125..c5fd8e27887f231d1ef3ff8f7c79c1d1479cb1a4 100644
(file)
--- 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);