FreeRDP/server/Sample
Norbert Federa ef1fd12b15 Fix unchecked CreateEvent calls and misc fixes
1)
Added missing checks for CreateEvent which also required the
following related changes:

- changed freerdp_context_new API to BOOL
- changed freerdp_peer_context_new API to BOOL
- changed pRdpClientNew callback to BOOL
- changed pContextNew callback to BOOL
- changed psPeerAccepted callback to BOOL
- changed psPeerContextNew callback to BOOL

2)
Fixed lots of missing alloc and error checks in the
changed code's neighbourhood.

3)
Check freerdp_client_codecs_prepare result to avoid segfaults
caused by using non-initialized codecs.

4)
Fixed deadlocks in x11 caused by missing xf_unlock_x11() calls
in some error handlers

5)
Some fixes in thread pool:
- DEFAULT_POOL assignment did not match TP_POOL definition
- don't free the pool pointer if it points to the static DEFAULT_POOL
- added error handling and cleanup in InitializeThreadpool
2015-04-29 18:18:39 +02:00
..
CMakeLists.txt Fixed setting of RV_VERSION_PATCH, now BUILD_NUMBER is used for every library. 2014-10-09 16:18:35 +02:00
ModuleOptions.cmake freerdp: remove vendor-specific options from build system, add automatic ways of including external clients/servers 2013-09-03 20:37:04 -04:00
rfx_test.pcap cmake: add solution folder subdirectories 2012-10-01 11:48:53 -04:00
server.crt libfreerdp-codec: fix handling of PACKET_AT_FRONT, PACKET_FLUSHED in MPPC compression 2014-04-20 21:28:09 -04:00
server.key libfreerdp-codec: fix handling of PACKET_AT_FRONT, PACKET_FLUSHED in MPPC compression 2014-04-20 21:28:09 -04:00
sf_audin.c Using wlog for server now. 2014-09-15 08:55:00 +02:00
sf_audin.h Fixed missing includes and invalid replacement. 2014-08-11 09:38:08 +02:00
sf_encomsp.c server/Sample: stub server-side encomsp channel 2014-06-25 15:21:02 -04:00
sf_encomsp.h Fixed missing includes and invalid replacement. 2014-08-11 09:38:08 +02:00
sf_rdpsnd.c Using wlog for server now. 2014-09-15 08:55:00 +02:00
sf_rdpsnd.h Fixed missing includes and invalid replacement. 2014-08-11 09:38:08 +02:00
sfreerdp.c Fix unchecked CreateEvent calls and misc fixes 2015-04-29 18:18:39 +02:00
sfreerdp.h Fixed missing includes and invalid replacement. 2014-08-11 09:38:08 +02:00
test_icon.ppm cmake: add solution folder subdirectories 2012-10-01 11:48:53 -04:00