diff options
author | dfr <dfr@FreeBSD.org> | 2008-09-04 14:54:22 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 2008-09-04 14:54:22 +0000 |
commit | ae590ad889f1c382c39f6763ef5ef77fd55dd386 (patch) | |
tree | 105b5253220648584c7e2cc596dbf1dcea17dd53 /lib | |
parent | b5bc5d965b31aaa60d65da0a9a05d14caf3a7fde (diff) | |
download | FreeBSD-src-ae590ad889f1c382c39f6763ef5ef77fd55dd386.zip FreeBSD-src-ae590ad889f1c382c39f6763ef5ef77fd55dd386.tar.gz |
Fix an off-by-one error in the replay detection logic.
Diffstat (limited to 'lib')
-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 ad9adcf..acafa09 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 |