git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
803aa8d
)
Get the sense of the integer wrap test the right way around. Sorry.
author
Jeremy Allison
<jra@samba.org>
Fri, 6 Mar 2009 05:51:26 +0000
(21:51 -0800)
committer
Karolin Seeger
<kseeger@samba.org>
Thu, 30 Jul 2009 07:22:13 +0000
(09:22 +0200)
Jeremy.
(cherry picked from commit
bdf46ea491801cdf8ff6f42c0a1ef51080cfc410
)
source/rpc_server/srv_pipe.c
patch
|
blob
|
history
diff --git
a/source/rpc_server/srv_pipe.c
b/source/rpc_server/srv_pipe.c
index 868f4d0358560d771ec5c07228808245c2349475..3e316f564eb5551a0a38cc3b383ffdf6594b54f8 100644
(file)
--- 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) {