diff options
author | Doug Rabson <dfr@FreeBSD.org> | 2008-09-04 14:54:22 +0000 |
---|---|---|
committer | Doug Rabson <dfr@FreeBSD.org> | 2008-09-04 14:54:22 +0000 |
commit | 5f7399dc43a7980aef768fbf99d71d1df0a019c3 (patch) | |
tree | 105b5253220648584c7e2cc596dbf1dcea17dd53 /lib/librpcsec_gss | |
parent | 19de3e90113e412e37159c9c901f37e1476df38d (diff) | |
download | src-5f7399dc43a7980aef768fbf99d71d1df0a019c3.tar.gz src-5f7399dc43a7980aef768fbf99d71d1df0a019c3.zip |
Fix an off-by-one error in the replay detection logic.
Notes
Notes:
svn path=/head/; revision=182758
Diffstat (limited to 'lib/librpcsec_gss')
-rw-r--r-- | lib/librpcsec_gss/svc_rpcsec_gss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/librpcsec_gss/svc_rpcsec_gss.c b/lib/librpcsec_gss/svc_rpcsec_gss.c index ad9adcf392ad..acafa0953103 100644 --- a/lib/librpcsec_gss/svc_rpcsec_gss.c +++ b/lib/librpcsec_gss/svc_rpcsec_gss.c @@ -883,7 +883,7 @@ svc_rpc_gss_check_replay(struct svc_rpc_gss_client *client, uint32_t seq) u_int32_t offset; int word, bit; - if (seq < client->cl_seqlast) { + if (seq <= client->cl_seqlast) { /* * The request sequence number is less than * the largest we have seen so far. If it is |