diff options
author | Gerald Carter <jerry@samba.org> | 2003-07-15 21:33:28 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-07-15 21:33:28 +0000 |
commit | ff0c71148e405eeb49efbc51461325c7f2207433 (patch) | |
tree | c898a624afc1607dc27aaa4b336edb8755ce0f87 /source/rpc_client | |
parent | 517bb4d0df4cd120ef0ffc3cd879897971f0982e (diff) | |
download | samba-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.c | 2 |
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")); |