From: Armin Novak Date: Tue, 6 Mar 2018 12:58:40 +0000 (+0100) Subject: Fix invalid handle offset. X-Git-Tag: 2.0.0-rc2~37^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a419677e8fb15f76b647442cc903203839e0e28f;p=platform%2Fupstream%2Ffreerdp.git Fix invalid handle offset. --- diff --git a/libfreerdp/core/transport.c b/libfreerdp/core/transport.c index d462e1b..159c96f 100644 --- a/libfreerdp/core/transport.c +++ b/libfreerdp/core/transport.c @@ -954,7 +954,7 @@ void transport_get_fds(rdpTransport* transport, void** rfds, int* rcount) rfds[index] = GetEventWaitObject(events[index]); } - rfds[nCount + 1] = GetEventWaitObject(transport->rereadEvent); + rfds[nCount] = GetEventWaitObject(transport->rereadEvent); } BOOL transport_is_write_blocked(rdpTransport* transport)