summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-03-05 21:51:26 -0800
committerKarolin Seeger <kseeger@samba.org>2009-07-30 09:22:13 +0200
commit568ef20412f4e2bf0872da5beb08fcbe1aa3fc5e (patch)
tree4b03ae42295cef0851b521d50f12d487bd935830
parent803aa8da6d2a7f32359a090062ab468cf8d6ce32 (diff)
downloadsamba-568ef20412f4e2bf0872da5beb08fcbe1aa3fc5e.tar.gz
Get the sense of the integer wrap test the right way around. Sorry.
Jeremy. (cherry picked from commit bdf46ea491801cdf8ff6f42c0a1ef51080cfc410)
-rw-r--r--source/rpc_server/srv_pipe.c2
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) {