The Samba-Bugzilla – Attachment 8868 Details for
Bug 9854
3.6.14 - Recurring segfaults in winbind
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for 4.0
9854-4.0.patch (text/plain), 1.65 KB, created by
Volker Lendecke
on 2013-05-07 13:42:11 UTC
(
hide
)
Description:
Patch for 4.0
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2013-05-07 13:42:11 UTC
Size:
1.65 KB
patch
obsolete
>From 676c0a2655c60c731a644be1939a1207ffb818ad Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Tue, 7 May 2013 12:39:16 +0200 >Subject: [PATCH] winbind: Fix bug 9854 -- NULL pointer dereference > >Signed-off-by: Volker Lendecke <vl@samba.org> >Reviewed-by: Michael Adam <obnox@samba.org> > >Autobuild-User(master): Michael Adam <obnox@samba.org> >Autobuild-Date(master): Tue May 7 14:49:07 CEST 2013 on sn-devel-104 >(cherry picked from commit 8c1283a89f746a108e8014b6fbc9a58a371950cf) >--- > source3/winbindd/winbindd_cache.c | 6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/source3/winbindd/winbindd_cache.c b/source3/winbindd/winbindd_cache.c >index 8b2e6a9..f631aea 100644 >--- a/source3/winbindd/winbindd_cache.c >+++ b/source3/winbindd/winbindd_cache.c >@@ -944,7 +944,7 @@ static void wcache_save_name_to_sid(struct winbindd_domain *domain, > if (!centry) > return; > >- if (domain_name[0] == '\0') { >+ if ((domain_name == NULL) || (domain_name[0] == '\0')) { > struct winbindd_domain *mydomain = > find_domain_from_sid_noinit(sid); > if (mydomain != NULL) { >@@ -972,7 +972,7 @@ static void wcache_save_sid_to_name(struct winbindd_domain *domain, NTSTATUS sta > if (!centry) > return; > >- if (domain_name[0] == '\0') { >+ if ((domain_name == NULL) || (domain_name[0] == '\0')) { > struct winbindd_domain *mydomain = > find_domain_from_sid_noinit(sid); > if (mydomain != NULL) { >@@ -1806,7 +1806,7 @@ NTSTATUS wcache_name_to_sid(struct winbindd_domain *domain, > return NT_STATUS_NO_MEMORY; > } > >- if (domain_name[0] == '\0') { >+ if ((domain_name == NULL) || (domain_name[0] == '\0')) { > domain_name = domain->name; > } > >-- >1.7.3.4 >
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:
asn
:
review+
Actions:
View
Attachments on
bug 9854
:
8850
|
8855
|
8856
|
8857
|
8860
|
8867
| 8868