forked from qt-creator/qt-creator
SSH: Fix sequence number wrap-around bug in Net7.
This commit is contained in:
+1
-1
@@ -389,7 +389,7 @@ short ne7ssh_transport::waitForPacket (Botan::byte cmd, bool bufferOnly)
|
||||
}*/
|
||||
}
|
||||
|
||||
if (rSeq == MAX_SEQUENCE) seq = 0;
|
||||
if (rSeq == MAX_SEQUENCE) rSeq = 0;
|
||||
else rSeq++;
|
||||
_cmd = *(decrypted.begin() + 5);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user