diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-04-15 16:11:10 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-04-15 16:11:10 +0200 |
commit | c05c5dba8a3ae832df4d2b1c58761089147288f1 (patch) | |
tree | 141cfe690de56df18031b1462c7b8277627f46e0 /source3/librpc/gen_ndr/cli_echo.c | |
parent | 5a2e212c0f3674a55b28cbdbed9f7b1d20fdfcd8 (diff) | |
download | samba-c05c5dba8a3ae832df4d2b1c58761089147288f1.tar.gz samba-c05c5dba8a3ae832df4d2b1c58761089147288f1.tar.bz2 samba-c05c5dba8a3ae832df4d2b1c58761089147288f1.zip |
Regenerate DCE/RPC client code after fixing memcpy() length bug in pidl.
(This used to be commit ac4c63d999f9ae61428bcdae400d127459896d6c)
Diffstat (limited to 'source3/librpc/gen_ndr/cli_echo.c')
-rw-r--r-- | source3/librpc/gen_ndr/cli_echo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/librpc/gen_ndr/cli_echo.c b/source3/librpc/gen_ndr/cli_echo.c index addeef65b5..23a8907de3 100644 --- a/source3/librpc/gen_ndr/cli_echo.c +++ b/source3/librpc/gen_ndr/cli_echo.c @@ -84,7 +84,7 @@ NTSTATUS rpccli_echo_EchoData(struct rpc_pipe_client *cli, } /* Return variables */ - memcpy(out_data, r.out.out_data, r.in.len); + memcpy(out_data, r.out.out_data, r.in.len * sizeof(*out_data)); /* Return result */ return NT_STATUS_OK; @@ -166,7 +166,7 @@ NTSTATUS rpccli_echo_SourceData(struct rpc_pipe_client *cli, } /* Return variables */ - memcpy(data, r.out.data, r.in.len); + memcpy(data, r.out.data, r.in.len * sizeof(*data)); /* Return result */ return NT_STATUS_OK; |