The Samba-Bugzilla – Attachment 4936 Details for
Bug 6697
interdomain trusts broken with w2k8r2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
protect rpc_pipe_np_smb_conn against a NULL struct rpc_pipe_client.
out (text/plain), 836 bytes, created by
Guenther Deschner
on 2009-11-10 04:08:54 UTC
(
hide
)
Description:
protect rpc_pipe_np_smb_conn against a NULL struct rpc_pipe_client.
Filename:
MIME Type:
Creator:
Guenther Deschner
Created:
2009-11-10 04:08:54 UTC
Size:
836 bytes
patch
obsolete
>From b9e863fc7edcd35f2716d07e96d0aee16171cffa Mon Sep 17 00:00:00 2001 >From: =?utf-8?q?G=C3=BCnther=20Deschner?= <gd@samba.org> >Date: Tue, 10 Nov 2009 11:04:08 +0100 >Subject: [PATCH] s3-rpc_client: protect rpc_pipe_np_smb_conn against a NULL struct rpc_pipe_client. > >Guenther >--- > source/rpc_client/cli_pipe.c | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > >diff --git a/source/rpc_client/cli_pipe.c b/source/rpc_client/cli_pipe.c >index be84c39..6a5802e 100644 >--- a/source/rpc_client/cli_pipe.c >+++ b/source/rpc_client/cli_pipe.c >@@ -2348,6 +2348,9 @@ bool rpccli_get_pwd_hash(struct rpc_pipe_client *cli, uint8_t nt_hash[16]) > > struct cli_state *rpc_pipe_np_smb_conn(struct rpc_pipe_client *p) > { >+ if (p == NULL) { >+ return NULL; >+ } > if (p->transport_type == NCACN_NP) { > return p->trans.np.cli; > } >-- >1.6.2.5 >
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 6697
:
4658
| 4936 |
4937