git.samba.org
/
ambi
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77c6cdc
)
dsdb: Fix CID 1034743 Dereference after null check
author
Volker Lendecke
<vl@samba.org>
Tue, 23 Jun 2015 12:42:06 +0000
(14:42 +0200)
committer
Jeremy Allison
<jra@samba.org>
Tue, 23 Jun 2015 20:12:09 +0000
(22:12 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/dsdb/samdb/ldb_modules/simple_dn.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/samdb/ldb_modules/simple_dn.c
b/source4/dsdb/samdb/ldb_modules/simple_dn.c
index c7b800fec2a6147e0ab695c3b95689987078b5ba..80ef3b56cd454efa6b641bc22a3e2528f483c99d 100644
(file)
--- a/
source4/dsdb/samdb/ldb_modules/simple_dn.c
+++ b/
source4/dsdb/samdb/ldb_modules/simple_dn.c
@@
-44,7
+44,7
@@
static int simple_dn_search(struct ldb_module *module, struct ldb_request *req)
new_base = ldb_dn_copy(req, req->op.search.base);
if (!new_base) {
- ldb_module_oom(module);
+
return
ldb_module_oom(module);
}
ldb_dn_remove_extended_components(new_base);