Check server and client capabilities
authorDavid FORT <contact@hardening-consulting.com>
Tue, 26 Jan 2016 15:14:48 +0000 (16:14 +0100)
committerDavid FORT <contact@hardening-consulting.com>
Tue, 26 Jan 2016 15:14:48 +0000 (16:14 +0100)
commit708d0cb3c0a8195acb19718d0214b7360044cc8a
tree09374e65d6145378b8383da8a79e1a2074c64bc1
parentb6ad8052c161b172788c02068ecf642842e4d04e
Check server and client capabilities

Most of the capabilities are sent by both the client and the server. But for some
the specs specify that they are only supposed to be only send by the server or the client.
This patch ensures this. Without this patch a malicious client can change server settings
and a malicious server can modify client settings.
libfreerdp/core/capabilities.c