summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorYasuma Takeda <yasuma@osstech.co.jp>2009-02-16 14:07:37 +0100
committerVolker Lendecke <vl@samba.org>2009-02-16 14:08:39 +0100
commite32f946114f8922e35ed77177c44ab138e623aad (patch)
tree7a73388b62c977f38c0ee3bb5856049d75aa9bc8 /source3
parentfe417b29bd23b7b935669993e0f01de4c7de2378 (diff)
downloadsamba-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
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/srv_netlog_nt.c2
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;