From 4d47c626bc74672523b41ea38fc3720130096cfd Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Thu, 10 Dec 2020 01:20:44 +0300 Subject: [PATCH] typo fix --- libfreerdp/core/transport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfreerdp/core/transport.c b/libfreerdp/core/transport.c index 93d967412..7ae5be377 100644 --- a/libfreerdp/core/transport.c +++ b/libfreerdp/core/transport.c @@ -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; }