The Samba-Bugzilla – Attachment 13987 Details for
Bug 13280
Initialize type = SID_NAME_UNKNOWN in wb_lookupsids_single_done()
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for 4.8 cherry-picked from master
bug13280-v48.patch (text/plain), 1.16 KB, created by
Ralph Böhme
on 2018-02-27 10:13:18 UTC
(
hide
)
Description:
Patch for 4.8 cherry-picked from master
Filename:
MIME Type:
Creator:
Ralph Böhme
Created:
2018-02-27 10:13:18 UTC
Size:
1.16 KB
patch
obsolete
>From bc8a3344acf730537a115be75ca04feae6ceb6f3 Mon Sep 17 00:00:00 2001 >From: Stefan Metzmacher <metze@samba.org> >Date: Tue, 23 Jan 2018 23:52:59 +0100 >Subject: [PATCH] winbindd: initialize type = SID_NAME_UNKNOWN in > wb_lookupsids_single_done() > >We check for !NT_STATUS_LOOKUP_ERR(), but wb_lookupsid_recv() >only initializes the results together with NT_STATUS_OK. > >Bug: https://bugzilla.samba.org/show_bug.cgi?id=13280 > >Signed-off-by: Stefan Metzmacher <metze@samba.org> >Reviewed-by: Ralph Boehme <slow@samba.org> >(cherry picked from commit b5ffa0e21f74fa0c452df38cf50e542eb278562d) >--- > source3/winbindd/wb_lookupsids.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/source3/winbindd/wb_lookupsids.c b/source3/winbindd/wb_lookupsids.c >index 6a4ad68e389..bd90c43bbe9 100644 >--- a/source3/winbindd/wb_lookupsids.c >+++ b/source3/winbindd/wb_lookupsids.c >@@ -513,7 +513,7 @@ static void wb_lookupsids_single_done(struct tevent_req *subreq) > req, struct wb_lookupsids_state); > const char *domain_name = NULL; > const char *name = NULL; >- enum lsa_SidType type; >+ enum lsa_SidType type = SID_NAME_UNKNOWN; > uint32_t res_sid_index; > uint32_t src_rid; > >-- >2.13.6 >
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:
metze
:
review+
Actions:
View
Attachments on
bug 13280
: 13987 |
14148