The Samba-Bugzilla – Attachment 7717 Details for
Bug 9062
cmd_lsarpc.c:1171: bad call to data_blob_const
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git-am fix for 3.6.next.
0001-Fix-bug-9062-cmd_lsarpc.c-1171-bad-call-to-data_blob.patch (text/plain), 1.11 KB, created by
Jeremy Allison
on 2012-07-23 22:26:22 UTC
(
hide
)
Description:
git-am fix for 3.6.next.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2012-07-23 22:26:22 UTC
Size:
1.11 KB
patch
obsolete
>From 5fca8577c52651bb082cff56385f84d8a2c26def Mon Sep 17 00:00:00 2001 >From: David Binderman <dcb314@hotmail.com> >Date: Mon, 23 Jul 2012 15:25:57 -0700 >Subject: [PATCH] Fix bug 9062: cmd_lsarpc.c:1171: bad call to data_blob_const > >Signed-off-by: Jeremy Allison <jra@samba.org> >--- > source3/rpcclient/cmd_lsarpc.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/source3/rpcclient/cmd_lsarpc.c b/source3/rpcclient/cmd_lsarpc.c >index 4b065d0..3aaef5c 100644 >--- a/source3/rpcclient/cmd_lsarpc.c >+++ b/source3/rpcclient/cmd_lsarpc.c >@@ -1168,7 +1168,7 @@ static void display_trust_dom_info_4(struct lsa_TrustDomainInfoPassword *p, > > DATA_BLOB data = data_blob_const(p->password->data, p->password->length); > DATA_BLOB data_old = data_blob_const(p->old_password->data, p->old_password->length); >- DATA_BLOB session_key_blob = data_blob_const(session_key, sizeof(session_key)); >+ DATA_BLOB session_key_blob = data_blob_const(session_key, 16); > > pwd = sess_decrypt_string(talloc_tos(), &data, &session_key_blob); > pwd_old = sess_decrypt_string(talloc_tos(), &data_old, &session_key_blob); >-- >1.7.7.3 >
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:
gd
:
review+
Actions:
View
Attachments on
bug 9062
: 7717