The Samba-Bugzilla – Attachment 11607 Details for
Bug 11612
winbind crashes with invalid idmap configs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
11612.patch (text/plain), 885 bytes, created by
Volker Lendecke
on 2015-11-19 16:05:32 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2015-11-19 16:05:32 UTC
Size:
885 bytes
patch
obsolete
>From 6e8fb85b7d35c8f52a2058e706113853bca00551 Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Thu, 19 Nov 2015 17:00:49 +0100 >Subject: [PATCH] winbind: Don't crash on invalid idmap configs > >We should not leave NULL in idmap_domains[]. This will lead to NULL >ptr deferences in idmap_find_domain(). > >Bug: https://bugzilla.samba.org/show_bug.cgi?id=11612 >Signed-off-by: Volker Lendecke <vl@samba.org> >--- > source3/winbindd/idmap.c | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/source3/winbindd/idmap.c b/source3/winbindd/idmap.c >index 8de8990..4012e70 100644 >--- a/source3/winbindd/idmap.c >+++ b/source3/winbindd/idmap.c >@@ -146,6 +146,7 @@ static bool idmap_found_domain_backend( > if (dom == NULL) { > DBG_NOTICE("Could not init idmap domain %s\n", > domname); >+ return false; > } > > tmp = talloc_realloc(idmap_domains, idmap_domains, >-- >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
Actions:
View
Attachments on
bug 11612
:
11607
|
11608