Commit Graph

6245 Commits

Author SHA1 Message Date
Bernhard Miklautz
e5fb854a49 winpr-file: harden GetNamePipeFileDescriptor
Ensure that GetNamePipeFileDescriptor returns an error
if the supplied handle isn't a named pipe.
2014-05-07 21:23:54 +02:00
Bernhard Miklautz
58cd56c488 sample channel: fix build
sample channel is static and not dynamic therefore dynamic
should be set to FALSE in add_channel_client_library
2014-05-07 20:56:49 +02:00
Bernhard Miklautz
267d80d0d2 Merge pull request #1830 from hardening/certificate_fix
Fix null certificate that is not an error
2014-05-07 16:28:58 +02:00
Hardening
603a6378ff Fix null certificate that is not an error 2014-05-07 16:12:38 +02:00
Vic Lee
02595df976 tls: WSAGetLastError should be used on Windows to check system socket error. 2014-04-29 23:05:30 +08:00
Vic Lee
c8848fe4c8 tls: do not kill the connection for non-fatal openssl error codes. 2014-04-29 21:48:11 +08:00
Vic Lee
7ed1e8a0f1 drdynvc: fix an incorrect length indicator. 2014-04-29 14:21:37 +08:00
Vic Lee
50746ea724 audin: remove unused variable. 2014-04-29 14:20:58 +08:00
Marc-André Moreau
41fe20a960 Merge pull request #1821 from bmiklautz/fix/fdsapi_load
wtsapi: library loading consolidation and fallback
2014-04-28 12:40:44 -04:00
Bernhard Miklautz
0bcd933e70 wtsapi: add fallback to load freerds lib
Try to load libfreerds-fdsapi.so directly if the freerds ini file
isn't found. This adds a fallback that uses the systems library
loading mechanisms (e.g LD_LIBRARY_PATH).
Might also be required for older version of FreeRDS.
2014-04-28 16:54:58 +02:00
Bernhard Miklautz
bc73a554fc wtsapi: replaced printf with fprintf 2014-04-28 16:48:24 +02:00
Bernhard Miklautz
21bcf31c43 wtsapi: consolidate lib initialization and load
Move duplicated code to LoadAndInitialize.
2014-04-28 16:46:07 +02:00
Marc-André Moreau
e192e0c141 Merge pull request #1820 from awakecoding/master
SmartCard Fixes, Ini File Parser, Message-Only Windows, WTSAPI Improvements
2014-04-27 22:45:52 -04:00
Marc-André Moreau
9a8b8372d4 winpr: fix type redefinition 2014-04-27 22:35:04 -04:00
Marc-André Moreau
32de7b6a77 libwinpr-smartcard: fix failing unit test 2014-04-27 22:23:42 -04:00
Marc-André Moreau
19dc76b329 winpr: check for __LP64__ for DWORD and LONG definitions 2014-04-27 22:05:31 -04:00
Marc-André Moreau
6e2699d2d6 libwinpr-wtsapi: fix failing tests 2014-04-27 21:54:21 -04:00
Marc-André Moreau
cadc3b8d3b Merge pull request #1819 from hardening/orders_micro_fix
Fix typo in update_write_4byte_unsigned()
2014-04-27 21:51:13 -04:00
Marc-André Moreau
774520fa2b Merge pull request #1817 from zhangzl2013/win-auto-reconnect
Win auto reconnect
2014-04-27 21:46:16 -04:00
Marc-André Moreau
57d927e979 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2014-04-27 21:46:06 -04:00
Marc-André Moreau
314acdb5fc winpr: fix missing link dependencies 2014-04-27 21:45:50 -04:00
Marc-André Moreau
b1c0a68f55 client/common: honor RedirectSmartCards, RedirectPrinters 2014-04-27 21:29:44 -04:00
Marc-André Moreau
c9a223a06b libwinpr-smartcard: return SCARD_NO_SERVICE when no internal callback is registered 2014-04-27 20:11:31 -04:00
Marc-André Moreau
058a550cab Merge branch 'smartcard' of github.com:awakecoding/FreeRDP 2014-04-27 19:21:35 -04:00
Marc-André Moreau
b67288868d Merge branch 'master' of github.com:awakecoding/FreeRDP into fdsapi 2014-04-27 19:18:23 -04:00
Marc-André Moreau
5db851a154 libwinpr-smartcard: update PCSC-WinPR instructions (WIP) 2014-04-27 17:38:45 -04:00
Hardening
c03c1c75f3 Fix typo in update_write_4byte_unsigned() 2014-04-27 23:21:30 +02:00
Marc-André Moreau
103b7d4151 libwinpr-smartcard: fix workaround for lack of PnP Notification support on OS X 2014-04-27 16:43:09 -04:00
Marc-André Moreau
6059ffbb88 channels/smartcard: harden unpacking code, don't modify GetStatusChange parameters 2014-04-27 15:45:36 -04:00
Zhang Zhaolong
92c77d0134 wfreerdp: port auto reconnection to Windows. 2014-04-27 20:52:45 +08:00
Zhang Zhaolong
e40c5ce2ce libfreerdp-core: fix assignment after memory free. 2014-04-27 20:32:52 +08:00
Marc-André Moreau
f3e75cedee Merge pull request #1816 from awakecoding/master
Compression, SmartCard and CMake Fixes
2014-04-26 15:41:23 -04:00
Marc-André Moreau
e0bcc275cc cmake: only use __FILE__ relative path hack in release flags 2014-04-26 14:14:19 -04:00
Marc-André Moreau
8c54a436ea libfreerdp-core: fix compression level 2014-04-26 13:53:28 -04:00
Marc-André Moreau
4b963bea6f Merge pull request #1814 from zhangzl2013/memory
Fix potential memory leak.
2014-04-26 13:50:38 -04:00
Marc-André Moreau
769502ec72 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2014-04-26 13:47:01 -04:00
Marc-André Moreau
f37c23b1a7 channels/urbdrc: fix cmake scripts 2014-04-26 13:44:58 -04:00
Marc-André Moreau
a2fa4eb6ed Merge branch 'master' of github.com:awakecoding/FreeRDP 2014-04-26 12:31:32 -04:00
Marc-André Moreau
fb3f5e6bd2 libfreerdp-utils: purge deprecated list utils 2014-04-26 12:31:24 -04:00
Zhang Zhaolong
e64a64dcd6 core: fix memory leak in case of error out. 2014-04-26 13:44:28 +08:00
Zhang Zhaolong
e8f34b845e serial: fix memory leak in case of error out. 2014-04-26 13:43:52 +08:00
Zhang Zhaolong
cad2578867 libwinpr: minor fix print uninitialized variable. 2014-04-26 13:13:12 +08:00
Zhang Zhaolong
7b1e773929 serial: fix memory leak in case of error out. 2014-04-26 12:24:56 +08:00
Zhang Zhaolong
5cb7819830 client-common: fix memory leak in case of error out. 2014-04-26 12:19:28 +08:00
Zhang Zhaolong
cb2fc70a5d codec: fix memory leak in case of realloc() failed. 2014-04-26 12:16:34 +08:00
Zhang Zhaolong
69eee0709d core: fix memory leak in case of error out. 2014-04-26 12:08:30 +08:00
Zhang Zhaolong
24fce3a749 core: fix memory leak in case of error out. 2014-04-26 12:05:52 +08:00
Zhang Zhaolong
8ce32773f3 core: fix memory leak in case of error out. 2014-04-26 12:00:07 +08:00
Zhang Zhaolong
dcbf5bd0ed libwinpr: fix memory leak in case of error. 2014-04-26 11:53:08 +08:00
Zhang Zhaolong
88760cbd83 libwinpr: fix memory leak in case TimerQueue is NULL. 2014-04-26 11:36:35 +08:00