diff options
author | Jeremy Allison <jra@samba.org> | 2009-03-05 22:00:22 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-03-05 22:00:22 -0800 |
commit | 67d12e9c6bc9e34ecc335ddfc85fc59ed9167b68 (patch) | |
tree | 9a354ed86e924caac1f6d901b6d825d8471fd4be /source3/rpc_server | |
parent | 4e74d811aa9f85a4cb7896c0fcc21552d1910cf5 (diff) | |
download | samba-67d12e9c6bc9e34ecc335ddfc85fc59ed9167b68.tar.gz samba-67d12e9c6bc9e34ecc335ddfc85fc59ed9167b68.tar.bz2 samba-67d12e9c6bc9e34ecc335ddfc85fc59ed9167b68.zip |
Get the sense of the integer wrap test the right way around. Sorry.
Jeremy.
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_pipe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_pipe.c b/source3/rpc_server/srv_pipe.c index 6becfa42e8..f3ee18da5a 100644 --- a/source3/rpc_server/srv_pipe.c +++ b/source3/rpc_server/srv_pipe.c @@ -2114,7 +2114,7 @@ bool api_pipe_schannel_process(pipes_struct *p, prs_struct *rpc_in, uint32 *p_ss auth_len = p->hdr.auth_len; if (auth_len < RPC_AUTH_SCHANNEL_SIGN_OR_SEAL_CHK_LEN || - auth_len < RPC_HEADER_LEN + + auth_len > RPC_HEADER_LEN + RPC_HDR_REQ_LEN + RPC_HDR_AUTH_LEN + auth_len) { |