Skip to content
Snippets Groups Projects
Commit 06844588 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Only take the early-out data path required to make SSH channels work for SSH sessions.

May fix the issues seen updating wiki pages, may not, but is a less
invasive patch either way.
parent e1ac0520
No related branches found
No related tags found
No related merge requests found
Pipeline #5717 passed
......@@ -44,7 +44,7 @@
request, exit */
*bytesCopied = bytesToCopy;
- if( bytesToCopy >= length )
+ if( bytesToCopy >= 0 )
+ if( bytesToCopy >= length || sessionInfoPtr->type == CRYPT_SESSION_SSH || sessionInfoPtr->type == CRYPT_SESSION_SSH_SERVER)
{
ENSURES( sanityCheckSessionRead( sessionInfoPtr ) );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment