git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e74d81
)
Get the sense of the integer wrap test the right way around. Sorry.
author
Jeremy Allison
<jra@samba.org>
Fri, 6 Mar 2009 06:00:22 +0000
(22:00 -0800)
committer
Jeremy Allison
<jra@samba.org>
Fri, 6 Mar 2009 06:00:22 +0000
(22:00 -0800)
Jeremy.
source3/rpc_server/srv_pipe.c
patch
|
blob
|
history
diff --git
a/source3/rpc_server/srv_pipe.c
b/source3/rpc_server/srv_pipe.c
index 6becfa42e86c590fe07132b55342619288f60abe..f3ee18da5a50f1f85d3c40861e2cb1103b8087f5 100644
(file)
--- 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) {