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 | b8ddc6238b9c29a65065df8ff318171d8e913f12 (patch) | |
tree | ffd0aa4f153d64c6e5cac58f7ff08ffe5b7b600f /source3/rpc_client | |
parent | c9d6c786a1a1d1b33141cbd47984ec0a374fef46 (diff) | |
download | samba-b8ddc6238b9c29a65065df8ff318171d8e913f12.tar.gz samba-b8ddc6238b9c29a65065df8ff318171d8e913f12.tar.bz2 samba-b8ddc6238b9c29a65065df8ff318171d8e913f12.zip |
fix schannel processing on fragmented PDUs. 'net rpc vampire' works again.
(This used to be commit ff0c71148e405eeb49efbc51461325c7f2207433)
Diffstat (limited to 'source3/rpc_client')
-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 2229a9f2cf..d8f5e01cc2 100644 --- a/source3/rpc_client/cli_pipe.c +++ b/source3/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")); |