This commit is contained in:
Gluzskiy Alexandr 2020-12-10 01:20:44 +03:00
parent 995c0de9c8
commit 4d47c626bc
No known key found for this signature in database
GPG Key ID: 081C9B2CC6377450

View File

@ -811,7 +811,7 @@ SSIZE_T transport_parse_pdu(rdpTransport* transport, wStream* s, BOOL* incomplet
return -1;
if (incomplete)
*incomplete = position >= pduLength;
*incomplete = position < pduLength;
return pduLength;
}