summaryrefslogtreecommitdiffstats
path: root/source/rpc_client
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-07-15 21:33:28 +0000
committerGerald Carter <jerry@samba.org>2003-07-15 21:33:28 +0000
commitff0c71148e405eeb49efbc51461325c7f2207433 (patch)
treec898a624afc1607dc27aaa4b336edb8755ce0f87 /source/rpc_client
parent517bb4d0df4cd120ef0ffc3cd879897971f0982e (diff)
downloadsamba-ff0c71148e405eeb49efbc51461325c7f2207433.tar.gz
samba-ff0c71148e405eeb49efbc51461325c7f2207433.tar.xz
samba-ff0c71148e405eeb49efbc51461325c7f2207433.zip
fix schannel processing on fragmented PDUs. 'net rpc vampire' works again.
Diffstat (limited to 'source/rpc_client')
-rw-r--r--source/rpc_client/cli_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rpc_client/cli_pipe.c b/source/rpc_client/cli_pipe.c
index 2229a9f2cfa..d8f5e01cc22 100644
--- a/source/rpc_client/cli_pipe.c
+++ b/source/rpc_client/cli_pipe.c
@@ -330,7 +330,7 @@ static BOOL rpc_auth_pipe(struct cli_state *cli, prs_struct *rdata,
RPC_AUTH_NETSEC_CHK chk;
prs_struct netsec_verf;
- char *dp = prs_data_p(rdata) + len - auth_len;
+ char *dp = prs_data_p(rdata) + fragment_start + len - auth_len;
if(dp - prs_data_p(rdata) > prs_data_size(rdata)) {
DEBUG(0,("rpc_auth_pipe: auth data > data size !\n"));