The Samba-Bugzilla – Attachment 11565 Details for
Bug 11569
winbindd crashes with samlogon for trusted domain user
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch (2 of 2) file for 4.2.x
0002-Prevent-null-ptr-access-by-returning-error-if-no-cre.patch (text/plain), 1.02 KB, created by
Noel Power
on 2015-11-02 10:30:25 UTC
(
hide
)
Description:
patch (2 of 2) file for 4.2.x
Filename:
MIME Type:
Creator:
Noel Power
Created:
2015-11-02 10:30:25 UTC
Size:
1.02 KB
patch
obsolete
>From f23c23ee52e791efa35d9e70552d30e0d4314695 Mon Sep 17 00:00:00 2001 >From: Noel Power <noel.power@suse.com> >Date: Mon, 2 Nov 2015 09:59:12 +0000 >Subject: [PATCH 2/2] Prevent null ptr access by returning error if no creds > available > >Prevent rpccli_netlogon_password_logon being called with 'NULL' credentials. > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=11569 >signed-off-by: Noel Power <noel.power@suse.com> >--- > source3/rpcclient/cmd_netlogon.c | 5 +++++ > 1 file changed, 5 insertions(+) > >diff --git a/source3/rpcclient/cmd_netlogon.c b/source3/rpcclient/cmd_netlogon.c >index 2d1c351..ea63602 100644 >--- a/source3/rpcclient/cmd_netlogon.c >+++ b/source3/rpcclient/cmd_netlogon.c >@@ -800,6 +800,11 @@ static NTSTATUS cmd_netlogon_sam_logon(struct rpc_pipe_client *cli, > if (argc == 6) > sscanf(argv[5], "%x", &logon_param); > >+ if (rpcclient_netlogon_creds == NULL) { >+ result = NT_STATUS_UNSUCCESSFUL; >+ goto done; >+ } >+ > /* Perform the sam logon */ > > result = rpccli_netlogon_password_logon(rpcclient_netlogon_creds, >-- >2.1.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
Actions:
View
Attachments on
bug 11569
:
11529
|
11564
|
11565
|
11571
|
11581
|
11582
|
11583
|
11584
|
11588