Fix multiple cases of use of uninitialized vars
authorDaniel Bungert <bungert@hp.com>
Wed, 20 Aug 2014 09:54:05 +0000 (03:54 -0600)
committerDaniel Bungert <bungert@hp.com>
Wed, 20 Aug 2014 09:54:05 +0000 (03:54 -0600)
commit27fc3ee64d82bc44d9530600c6a21930c37b69c0
tree8e05effc226cca1c68c32912c5dd3b8fe6fe5736
parent589eb9b511dd8d1d9bd2194623a5b78e15e60426
Fix multiple cases of use of uninitialized vars

* Zeroing xevent helped address some erratic behavior.
* valgrind complained about using xfBitmap uninitialized
  during shutdown, traced it back to the initialization.
  Bitmap_Prototype->size > sizeof(rdpBitmap).
* Early exit from recv_tpkt_pdu is necessary to address
  a shutdown crash - the channelId value was being used
  without being set in the disconnect case.
client/X11/xf_window.c
libfreerdp/core/graphics.c
libfreerdp/core/peer.c
libfreerdp/core/rdp.c