xfreerdp/clipr: fix self owned test and hardening
authorNorbert Federa <norbert.federa@thincast.com>
Tue, 20 Oct 2015 19:28:29 +0000 (21:28 +0200)
committerNorbert Federa <norbert.federa@thincast.com>
Tue, 20 Oct 2015 19:28:29 +0000 (21:28 +0200)
commita4580923e77b4690a5fe90a8e37a042bc5a8fa06
treedaefd248d71689287079905044bb0caaa6070438
parentd0cda5a5c7f1139c397223804d924787437aab49
xfreerdp/clipr: fix self owned test and hardening

- xf_cliprdr_is_self_owned() lied if multiple xfreerdp instances were
  running.
- fixed a few unchecked callocs
- added/modified and handled some return values in compliance with
  the new hardened channel api
client/X11/xf_client.c
client/X11/xf_cliprdr.c