FreeRDP/winpr/libwinpr/smartcard
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
..
test winpr: always build "monolitic" 2014-07-10 11:10:58 +02:00
CMakeLists.txt libwinpr-smartcard: remove unused (and useless) pcsc-lite static link option 2015-01-20 20:15:10 -05:00
module.def libwinpr-smartcard: initial stubs 2014-04-02 20:54:46 -04:00
ModuleOptions.cmake libwinpr-smartcard: initial stubs 2014-04-02 20:54:46 -04:00
smartcard_inspect.c libwinpr-smartcard: add logging for each calls in smartcard inspector 2014-05-26 17:54:39 -04:00
smartcard_inspect.h libwinpr-smartcard: start smartcard API inspector 2014-05-26 15:57:37 -04:00
smartcard_pcsc.c Fix unchecked CreateEvent calls and misc fixes 2015-04-29 18:18:39 +02:00
smartcard_pcsc.h channels/smartcard: cleanup SCardControl 2014-12-22 16:25:59 -05:00
smartcard_winscard.c libwinpr-utils: extend wlog prefix format 2014-05-28 10:38:32 -04:00
smartcard_winscard.h libwinpr-smartcard: fix usage of native data types 2014-04-25 18:49:57 -04:00
smartcard.c libwinpr-smartcard: start smartcard API inspector 2014-05-26 15:57:37 -04:00
smartcard.h libwinpr-smartcard: return SCARD_NO_SERVICE when no internal callback is registered 2014-04-27 20:11:31 -04:00