The branch, v3-6-test has been updated
       via  db007b4 Fix bug 9062: cmd_lsarpc.c:1171: bad call to data_blob_const
      from  684f834 Use ippGet/ippSet (accessors) for IPP API.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test


- Log -----------------------------------------------------------------
commit db007b46222c02e23fb9566128ee436ad6c11bf9
Author: David Binderman <[email protected]>
Date:   Mon Jul 23 15:25:57 2012 -0700

    Fix bug 9062: cmd_lsarpc.c:1171: bad call to data_blob_const
    
    Signed-off-by: Jeremy Allison <[email protected]>

-----------------------------------------------------------------------

Summary of changes:
 source3/rpcclient/cmd_lsarpc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

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);


-- 
Samba Shared Repository

Reply via email to