mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
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 commit is contained in:
parent
71b861f746
commit
90b6fce780
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user