The Samba-Bugzilla – Attachment 12057 Details for
Bug 11890
ldb_matching_rules: Fix CID 1349424 - Uninitialized pointer read
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for 4.4
0001-ldb-samba-ldb_matching_rules-Fix-CID-1349424-Uniniti.patch (text/plain), 1.35 KB, created by
Garming Sam
on 2016-05-03 05:49:57 UTC
(
hide
)
Description:
Patch for 4.4
Filename:
MIME Type:
Creator:
Garming Sam
Created:
2016-05-03 05:49:57 UTC
Size:
1.35 KB
patch
obsolete
>From e78d707a89c6dcc563a58738f1057780edcb1ba6 Mon Sep 17 00:00:00 2001 >From: Robin Hack <hack.robin@gmail.com> >Date: Tue, 26 Apr 2016 17:51:46 +0200 >Subject: [PATCH] ldb-samba/ldb_matching_rules: Fix CID 1349424 - Uninitialized > pointer read > >Fix unitialized 'visited' value (pointer to pointer) in >ldb_eval_transitive_filter() which passes 'visited' value later to >ldb_eval_transitive_filter_helper(). > >Signed-off-by: Robin Hack <hack.robin@gmail.com> >Reviewed-by: Jeremy Allison <jra@samba.org> >Reviewed-by: Andreas Schneider <asn@samba.org> > >Autobuild-User(master): Jeremy Allison <jra@samba.org> >Autobuild-Date(master): Wed Apr 27 02:12:39 CEST 2016 on sn-devel-144 > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=11890 > >(cherry picked from commit f4181f25b4ae3db684e43837449617e75183ecc8) >--- > lib/ldb-samba/ldb_matching_rules.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/lib/ldb-samba/ldb_matching_rules.c b/lib/ldb-samba/ldb_matching_rules.c >index 1692a73..637858f 100644 >--- a/lib/ldb-samba/ldb_matching_rules.c >+++ b/lib/ldb-samba/ldb_matching_rules.c >@@ -206,7 +206,7 @@ static int ldb_eval_transitive_filter(TALLOC_CTX *mem_ctx, > struct dsdb_dn *dn_to_match; > const char *dn_oid; > unsigned int count; >- struct dsdb_dn **visited; >+ struct dsdb_dn **visited = NULL; > > schema = dsdb_get_schema(ldb, mem_ctx); > if (schema == NULL) { >-- >1.9.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
abartlet
:
review+
Actions:
View
Attachments on
bug 11890
: 12057