diff options
author | Matthew Chapman <matty@samba.org> | 1999-03-23 15:01:37 +0000 |
---|---|---|
committer | Matthew Chapman <matty@samba.org> | 1999-03-23 15:01:37 +0000 |
commit | 877db70926195076b979821270bcd473c34e7709 (patch) | |
tree | d15d295f9081d5f74e35efbcde0baed0a7812038 | |
parent | 99020c9b090449e3113acc2ceb667cb41a63a6b8 (diff) | |
download | samba-877db70926195076b979821270bcd473c34e7709.tar.gz samba-877db70926195076b979821270bcd473c34e7709.tar.xz samba-877db70926195076b979821270bcd473c34e7709.zip |
Fixed a typo where the RPC header mem_buffer was initialised as 0x8 bytes long
rather than 0x18. Rather nasty, I doubt the client ever worked for multiple
PDU's.
(This used to be commit 90b6fce780c8dff37a389493be0568923b189ff0)
-rw-r--r-- | source3/rpc_client/cli_pipe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c index 9d2ee533d6..482dbe71ce 100644 --- a/source3/rpc_client/cli_pipe.c +++ b/source3/rpc_client/cli_pipe.c @@ -361,7 +361,7 @@ static BOOL rpc_api_pipe(struct cli_state *cli, uint16 nt_pipe_fnum, uint16 cmd, int num_read; prs_struct hps; - prs_init(&hps, 0x8, 4, 0, True); + prs_init(&hps, 0x18, 4, 0, True); num_read = cli_read(cli, nt_pipe_fnum, hps.data->data, 0, 0x18); DEBUG(5,("rpc_api_pipe: read header (size:%d)\n", num_read)); |