git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe417b2
)
Fix bug 5920
author
Yasuma Takeda
<yasuma@osstech.co.jp>
Mon, 16 Feb 2009 13:07:37 +0000
(14:07 +0100)
committer
Volker Lendecke
<vl@samba.org>
Mon, 16 Feb 2009 13:08:39 +0000
(14:08 +0100)
The length of the memcpy was calculated wrong, r->out.return_authenticator is
a pointer
source3/rpc_server/srv_netlog_nt.c
patch
|
blob
|
history
diff --git
a/source3/rpc_server/srv_netlog_nt.c
b/source3/rpc_server/srv_netlog_nt.c
index 0a2d77e266cdda263b70c771195d33b42450f55a..a38c7176650a6dcda71ee4611cf51e55b3e45c53 100644
(file)
--- 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;