diff options
author | Yasuma Takeda <yasuma@osstech.co.jp> | 2009-02-16 14:07:37 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-02-16 14:08:39 +0100 |
commit | e32f946114f8922e35ed77177c44ab138e623aad (patch) | |
tree | 7a73388b62c977f38c0ee3bb5856049d75aa9bc8 | |
parent | fe417b29bd23b7b935669993e0f01de4c7de2378 (diff) | |
download | samba-e32f946114f8922e35ed77177c44ab138e623aad.tar.gz samba-e32f946114f8922e35ed77177c44ab138e623aad.tar.bz2 samba-e32f946114f8922e35ed77177c44ab138e623aad.zip |
Fix bug 5920
The length of the memcpy was calculated wrong, r->out.return_authenticator is
a pointer
-rw-r--r-- | source3/rpc_server/srv_netlog_nt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_netlog_nt.c b/source3/rpc_server/srv_netlog_nt.c index 0a2d77e266..a38c717665 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; |