Fixed tpkt header length checks.
authorArmin Novak <armin.novak@thincast.com>
Fri, 21 Feb 2020 08:17:00 +0000 (09:17 +0100)
committerakallabeth <akallabeth@users.noreply.github.com>
Mon, 2 Mar 2020 10:40:35 +0000 (11:40 +0100)
commitbe714d2a1378469b45130de8ccc2811470526c59
treec93f368100134a97064c41414099fe60a533719d
parent039bb88fefcddc467ad3e3351f4246c4548b066b
Fixed tpkt header length checks.

TPKT header length and consumption of data was not consistently
checked. This adds checks after each packet processed and fixes
any inconsistencies found.
libfreerdp/core/activation.c
libfreerdp/core/capabilities.c
libfreerdp/core/capabilities.h
libfreerdp/core/channels.c
libfreerdp/core/connection.c
libfreerdp/core/connection.h
libfreerdp/core/peer.c
libfreerdp/core/rdp.c
libfreerdp/core/server.c
libfreerdp/core/tpkt.c