mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2026-10-22 01:51:20 +03:00
Fix bugs reported by Coverity Scan.
This commit is contained in:
1 parent
06c06f1db8
commit
ee9990317b
12 files changed
+29
-15
No files matched your search
+1
-1
@@ -5307,7 +5307,7 @@ TCP_RESET:
|
||||
seq64 = n->RecvSeq + (UINT64)seq - (n->RecvSeqInit + n->RecvSeq) % X32;
|
||||
if ((n->RecvSeqInit + n->RecvSeq) % X32 > seq)
|
||||
{
|
||||
if (((n->RecvSeqInit + n->RecvSeq) % X32 - ack) >= 0x80000000)
|
||||
if (((n->RecvSeqInit + n->RecvSeq) % X32 - seq) >= 0x80000000)
|
||||
{
|
||||
seq64 = n->RecvSeq + (UINT64)seq + X32 - (n->RecvSeqInit + n->RecvSeq) % X32;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user