The branch, master has been updated via e32f946114f8922e35ed77177c44ab138e623aad (commit) from fe417b29bd23b7b935669993e0f01de4c7de2378 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit e32f946114f8922e35ed77177c44ab138e623aad Author: Yasuma Takeda <yas...@osstech.co.jp> Date: Mon Feb 16 14:07:37 2009 +0100 Fix bug 5920 The length of the memcpy was calculated wrong, r->out.return_authenticator is a pointer ----------------------------------------------------------------------- Summary of changes: source3/rpc_server/srv_netlog_nt.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/rpc_server/srv_netlog_nt.c b/source3/rpc_server/srv_netlog_nt.c index 0a2d77e..a38c717 100644 --- a/source3/rpc_server/srv_netlog_nt.c +++ b/source3/rpc_server/srv_netlog_nt.c @@ -769,7 +769,7 @@ NTSTATUS _netr_ServerPasswordSet(pipes_struct *p, /* set up the LSA Server Password Set response */ memcpy(r->out.return_authenticator, &cred_out, - sizeof(r->out.return_authenticator)); + sizeof(*(r->out.return_authenticator))); TALLOC_FREE(sampass); return status; -- Samba Shared Repository