Implemented 2.2.1.17.1 Persistent Key List PDU Data, added checks
authorakallabeth <akallabeth@posteo.net>
Thu, 19 Nov 2020 14:21:49 +0000 (15:21 +0100)
committerakallabeth <akallabeth@users.noreply.github.com>
Thu, 25 Feb 2021 08:51:41 +0000 (09:51 +0100)
commit812233e1800b593b9bfbc883b033bba55c09697c
treec2d02aad07bb242a568a748e4b1e496385a2c13e
parentdb1287ddad3b3db4691710308c10f9ccb79179f0
Implemented 2.2.1.17.1 Persistent Key List PDU Data, added checks

* Implemented missing server side version of PDU (just skip data)
* Refactored read/write functions to properly check stream
  length/capacity and handle return values.

(cherry picked from commit ec3c333656b4d8a00ff278a70b52c11b18e2d643)
libfreerdp/core/activation.c
libfreerdp/core/activation.h
libfreerdp/core/mcs.c
libfreerdp/core/nego.c
libfreerdp/core/peer.c
libfreerdp/core/rdp.c
libfreerdp/core/rdp.h
libfreerdp/core/tpkt.c
libfreerdp/core/tpkt.h