diff options
author | Jeremy Allison <jra@samba.org> | 2009-03-05 21:51:26 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-03-05 21:51:26 -0800 |
commit | bdf46ea491801cdf8ff6f42c0a1ef51080cfc410 (patch) | |
tree | e1035820984cfe0953c593d2a8759ab1ee255055 | |
parent | f03bacbf695f877d27186a39755ae726a22a61c8 (diff) | |
download | samba-bdf46ea491801cdf8ff6f42c0a1ef51080cfc410.tar.gz |
Get the sense of the integer wrap test the right way around. Sorry.
Jeremy.
-rw-r--r-- | source/rpc_server/srv_pipe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rpc_server/srv_pipe.c b/source/rpc_server/srv_pipe.c index 868f4d03585..3e316f564eb 100644 --- a/source/rpc_server/srv_pipe.c +++ b/source/rpc_server/srv_pipe.c @@ -2063,7 +2063,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) { |