core: message channel pdu broken with rdp security
authorNorbert Federa <norbert.federa@thincast.com>
Fri, 19 Jun 2015 12:47:00 +0000 (14:47 +0200)
committerNorbert Federa <norbert.federa@thincast.com>
Fri, 19 Jun 2015 12:49:17 +0000 (14:49 +0200)
commit91a9b23b9171cb2e44344cba8a27709298e7135d
tree09674498e42d39f8a7fce438c7298405d498c660
parentc8731eaa2c9c5e58457500ebe0c9f89d7e0c461f
core: message channel pdu broken with rdp security

rdp_recv_message_channel_pdu always read the rdp security header
even if it was already previously read (which is the case if rdp
security is active)

This caused malfunctions and disconnects when heartbeat or bandwidth
autodetect packets were sent/received in rdp security mode.

Credit goes to @MartinHaimberger for identifying the broken code
part.
libfreerdp/core/connection.c
libfreerdp/core/peer.c
libfreerdp/core/rdp.c
libfreerdp/core/rdp.h