mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-07 00:50:50 +00:00
Fix an off-by-one error in the replay detection logic.
This commit is contained in:
parent
19de3e9011
commit
5f7399dc43
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=182758
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue