FreeRDP/winpr/libwinpr
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
..
asn1 winpr: add checks for *alloc 2015-04-08 11:34:37 +02:00
bcrypt winpr: always build "monolitic" 2014-07-10 11:10:58 +02:00
clipboard winpr: add checks for *alloc 2015-04-08 11:34:37 +02:00
com winpr: always build "monolitic" 2014-07-10 11:10:58 +02:00
comm Fix unchecked CreateEvent calls and misc fixes 2015-04-29 18:18:39 +02:00
credentials Added WITH_LIBRARY_VERSIONING, allowing to build shared libraries without 2014-07-11 11:53:58 +02:00
credui winpr: always build "monolitic" 2014-07-10 11:10:58 +02:00
crt Removed compiler warning about obsolete header file in OpenBSD 2015-04-22 09:50:50 -04:00
crypto winpr: add checks for *alloc 2015-04-08 11:34:37 +02:00
dsparse winpr: add checks for *alloc 2015-04-08 11:34:37 +02:00
environment winpr: add checks for *alloc 2015-04-08 11:34:37 +02:00
error winpr: add checks for *alloc 2015-04-08 11:34:37 +02:00
file winpr: add checks for *alloc 2015-04-08 11:34:37 +02:00
handle Merge branch 'master' of github.com:FreeRDP/FreeRDP into gateway 2015-03-19 09:38:16 -04:00
heap winpr: always build "monolitic" 2014-07-10 11:10:58 +02:00
input libwinpr-input: add missing VK_DECIMAL mapping of OS X keycode mapping of ABNT2 keyboard 2014-11-11 12:39:41 -05:00
interlocked winpr: add checks for *alloc 2015-04-08 11:34:37 +02:00
io Integrate feedback from pull request (#2492) 2015-03-25 17:38:21 +01:00
library winpr: small fixes and cleanups 2015-04-08 11:34:37 +02:00
locale winpr: always build "monolitic" 2014-07-10 11:10:58 +02:00
memory winpr: always build "monolitic" 2014-07-10 11:10:58 +02:00
nt winpr: add checks for *alloc 2015-04-08 11:34:37 +02:00
path winpr: add checks for *alloc 2015-04-08 11:34:37 +02:00
pipe Fix unchecked CreateEvent calls and misc fixes 2015-04-29 18:18:39 +02:00
pool Fix unchecked CreateEvent calls and misc fixes 2015-04-29 18:18:39 +02:00
registry winpr: add checks for *alloc 2015-04-08 11:34:37 +02:00
rpc Prettiefied WLog messages. 2015-01-20 11:05:32 +01:00
security winpr: always build "monolitic" 2014-07-10 11:10:58 +02:00
smartcard Fix unchecked CreateEvent calls and misc fixes 2015-04-29 18:18:39 +02:00
sspi winpr: add checks for *alloc 2015-04-08 11:34:37 +02:00
sspicli Removed INVALID_HANDLE_VALUE from types not using it. 2015-03-31 15:18:45 +02:00
synch Fix unchecked CreateEvent calls and misc fixes 2015-04-29 18:18:39 +02:00
sysinfo Necessary changes to get latest branch working on OpenBSD 5.6 2015-04-21 14:42:06 -04:00
thread winpr: small fixes and cleanups 2015-04-08 11:34:37 +02:00
timezone winpr: always build "monolitic" 2014-07-10 11:10:58 +02:00
utils Fix unchecked CreateEvent calls and misc fixes 2015-04-29 18:18:39 +02:00
winhttp winpr: always build "monolitic" 2014-07-10 11:10:58 +02:00
winsock Necessary changes to get latest branch working on OpenBSD 5.6 2015-04-21 14:42:06 -04:00
wnd winpr: always build "monolitic" 2014-07-10 11:10:58 +02:00
wtsapi winpr: add checks for *alloc 2015-04-08 11:34:37 +02:00
CMakeLists.txt Merge pull request #1965 from akallabeth/dynamic-addin-naming 2014-10-31 13:42:16 +01:00
dummy.c freerdp: various missing link dependencies and symbol exports 2013-09-03 21:48:26 -04:00
log.h Moved logging defines to main logger. 2014-09-09 16:32:04 +02:00