Marc-André Moreau
22260600fa
libwinpr-input: add missing VK_DECIMAL mapping of OS X keycode mapping of ABNT2 keyboard
2014-11-11 12:39:41 -05:00
Marc-André Moreau
367ceff02c
libwinpr-smartcard: revert minor change from pull request #2195
2014-11-11 12:00:37 -05:00
Marc-André Moreau
d4bdf52b07
libwinpr-smartcard: re-enable SCardGetStatusChange status filtering
2014-11-11 11:46:59 -05:00
Marc-André Moreau
68ee5df7d9
winpr: fix build warnings
2014-11-11 11:21:34 -05:00
Marc-André Moreau
a48ed7239d
Merge branch 'master' of github.com:FreeRDP/FreeRDP
...
Conflicts:
libfreerdp/core/update.c
2014-11-11 09:55:48 -05:00
Marc-André Moreau
b77a3bc1bc
Merge pull request #2195 from Vinche59/master
...
Implementation of SCARD_IOCTL_LOCATECARDSBYATRA & Modification to make Smartcard reader with PinPad work
2014-11-11 09:29:45 -05:00
Martin Fleisz
6cd55a591d
Merge pull request #1964 from akallabeth/thread-wait-support
...
Implemented thread handling for WaitForMultipleObjects.
2014-11-11 10:50:55 +01:00
Vinche
d427faf5c6
Cleaning Code
2014-11-10 23:51:34 +01:00
Vinche
fdb95c712b
Implementation for Smartcard Reader with Pin Pad
2014-11-10 23:40:22 +01:00
Marc-André Moreau
71b8bfac30
libwinpr-smartcard: fix PCSC structure padding that was recently broken
2014-11-10 11:31:28 -05:00
Armin Novak
ff3fcc24c1
Fixed unlocking if pthread_join fails.
2014-11-10 10:24:32 +01:00
Vinche
69766de29f
Add comments to modifications
2014-11-09 23:02:12 +01:00
Vinche
bbff8db75f
Add comments to modifications
2014-11-09 23:00:41 +01:00
Vinche
2708a8de5c
first commit
2014-11-09 22:42:35 +01:00
Marc-André Moreau
c5c9423ccf
winpr: fix Win32 build warnings
2014-11-04 10:44:55 -05:00
Armin Novak
017e4a323e
Locking thread until joined now, preventing multiple joins and race conditions.
2014-11-03 09:29:35 +01:00
Martin Fleisz
0be28ba0f6
Merge pull request #1965 from akallabeth/dynamic-addin-naming
...
Dynamic channel library naming
2014-10-31 13:42:16 +01:00
Martin Fleisz
d58c6de93c
Merge pull request #2134 from akallabeth/windows_version_information
...
Windows version information
2014-10-31 12:23:11 +01:00
Armin Novak
5bf25fd87c
Fixed missing includes and typo.
2014-10-27 11:45:39 +01:00
Armin Novak
8f98f28ce8
Fixed merge errors.
2014-10-27 11:39:02 +01:00
Armin Novak
a6eff65259
Fixed ExitThread, now running pthread_exit and setting event.
2014-10-27 11:28:13 +01:00
Armin Novak
c6ed95d1bf
Fixed typo
2014-10-27 11:28:13 +01:00
Armin Novak
02a4d77da1
Setting exited flag in TerminateThread now to allow setting return code.
2014-10-27 11:28:12 +01:00
Armin Novak
7ef2bd3ca0
Added joined flag.
2014-10-27 11:28:12 +01:00
Armin Novak
7acdbdaa85
Error messages now prefixed with function name.
...
Implemented bWaitAll for WaitForMultipleObjects.
pthread_join now only called on first wait event, later ones skip this to avoid undefined behavior.
2014-10-27 11:28:11 +01:00
Armin Novak
c5bb6125c1
Added additional tests for WaitForSingleObject and WaitForMultipleObjects.
2014-10-27 11:23:18 +01:00
Armin Novak
5122ce939a
Added funcion name to debug messages.
...
Fixed setting of started flag for threads.
pthred_exit now used correct return value argument.
Return value now also set when terminating thread.
2014-10-27 11:23:18 +01:00
Armin Novak
56ae609943
Removed WaitForSingleObject in reset_event, joining thread when not allowed.
2014-10-27 11:23:17 +01:00
Armin Novak
8a352c6f63
Fixed thread cleanup, now saving state of started flag, setting event and
...
then cleaning up the thread resources.
2014-10-27 11:23:17 +01:00
Armin Novak
f80f5621ac
Fixed thread handle cleanup, checking for resource cleanup now before resetting flags.
2014-10-27 11:23:17 +01:00
Armin Novak
8de2868281
Preferring exit code from ExitThread now over thread function return.
2014-10-27 11:23:16 +01:00
Armin Novak
c846379e60
Removed noreturn from ExitThread, does not conform to http://msdn.microsoft.com/en-us/library/windows/desktop/ms682659%28v=vs.85%29.aspx and crashes FreeRDP.
2014-10-27 11:23:16 +01:00
Armin Novak
3d7b65a430
Now using thread_launcher function to properly clean up thread resources at exit.
2014-10-27 11:23:15 +01:00
Armin Novak
c304f457cf
Implemented thread handling for WaitForMultipleObjects.
...
Implemented thread specific functions.
2014-10-27 11:23:15 +01:00
Marc-André Moreau
02646b349f
Merge branch 'master' of github.com:FreeRDP/FreeRDP
...
Conflicts:
libfreerdp/core/gcc.c
2014-10-25 10:29:06 -04:00
Marc-André Moreau
f01bb56ac5
channels/cliprdr: add missing clipboard data format definitions
2014-10-23 18:33:10 -04:00
Marc-André Moreau
ce7302a999
wfreerdp: cleanup clipboard
2014-10-22 22:32:55 -04:00
Mike McDonald
95a72a182c
Fix to header file. __builtin_bswap16 is only available on GCC v4.8 (or higher).
2014-10-20 15:59:54 -04:00
Marc-André Moreau
83ecddd6c1
xfreerdp: replace cliprdr to wire format conversion
2014-10-17 20:40:11 -04:00
Marc-André Moreau
e8312e2dac
libwinpr-clipboard: add more synthetic clipboard formats
2014-10-17 19:14:54 -04:00
Marc-André Moreau
0e4659403f
libwinpr-clipboard: add basic clipboard synthesizers
2014-10-17 18:23:07 -04:00
Marc-André Moreau
c27888ed72
libwinpr-clipboard: initial clipboard synthetic format support
2014-10-17 16:45:36 -04:00
Marc-André Moreau
d98ce1a819
libwinpr-clipboard: initial commit
2014-10-17 15:19:05 -04:00
Armin Novak
3d28c9dbf1
Fixed sspi_CopyAuthIdentity, now checking source struct, if it is ANSI encoded.
2014-10-17 11:43:41 +02:00
Marc-André Moreau
334dec3c1f
winpr: add pragma pack, bitmap + clipboard definitions
2014-10-16 21:45:47 -04:00
Marc-André Moreau
f6b3b24c22
winpr: add new line ending, utf16 byte order swap functions
2014-10-16 18:07:44 -04:00
Marc-André Moreau
1d47b16f3c
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-10-14 20:59:37 -04:00
Marc-André Moreau
e0a063a3f9
libwinpr-wtsapi: improve Win32 winsta.dll-based channel API
2014-10-14 19:25:41 -04:00
Marc-André Moreau
f837ba3caa
libwinpr-wtsapi: implement overlapped i/o event handle Win32 wrapper
2014-10-14 15:23:07 -04:00
Marc-André Moreau
398eab35d4
libwinpr-wtsapi: add Win32 winsta.dll-based VC implementation
2014-10-13 10:55:11 -04:00
Marc-André Moreau
020436db79
libwinpr-handle: fix dummy DuplicateHandle implementation
2014-10-11 12:34:45 -04:00
Marc-André Moreau
ed99c63070
winpr: fix DECLSPEC_EXPORT on Windows
2014-10-10 20:34:17 -04:00
Marc-André Moreau
8ef4c14a6d
libwinpr-environment: fix extended functions
2014-10-10 19:16:51 -04:00
Marc-André Moreau
e49cfe05a8
winpr: windows build fixes
2014-10-10 18:59:05 -04:00
Marc-André Moreau
11ae267518
libfreerdp-core: expose new API to allow FreeRDS virtual channel hooking
2014-10-10 16:11:42 -04:00
Marc-André Moreau
8865077b40
libwinpr-winsock: minor improvements
2014-10-09 20:27:42 -04:00
Marc-André Moreau
b01ef89b3d
libwinpr-utils: improve HashTable flexibility, add proper string support
2014-10-09 16:46:55 -04:00
Armin Novak
89bb28adb2
Fixed setting of RV_VERSION_PATCH, now BUILD_NUMBER is used for every library.
...
Executable names are now correctly set, using CMAKE_EXECUTABLE_SUFFIX now.
Fixed version defines for winpr executables.
2014-10-09 16:18:35 +02:00
Marc-André Moreau
06c1810c8a
libwinpr-rpc: fix RpcStringFree
2014-10-08 21:46:46 -04:00
Marc-André Moreau
914e498a38
winpr-winsock: add missing INVALID_SOCKET definition
2014-10-08 20:52:04 -04:00
Daryl Poe
af5462eb7b
correct check for lzcnt cpu capability
2014-10-06 13:50:49 -06:00
Armin Novak
5364a834c4
Added windows version information to build.
2014-10-03 15:17:40 +02:00
Marc-André Moreau
cdbfc51daf
libwinpr-utils: add .ini write support
2014-10-02 20:16:30 -04:00
Marc-André Moreau
d5cbadee9d
libwinpr-utils: improve .ini file parser
2014-10-02 18:45:53 -04:00
Marc-André Moreau
2841fa32af
winpr: fix header conflict with internal X11 definitions
2014-10-01 15:33:01 -04:00
Marc-André Moreau
7da4621334
librdtk: improve text positioning
2014-10-01 12:18:17 -04:00
Marc-André Moreau
abd87ace55
rdtk: initial commit
2014-09-29 16:08:08 -04:00
Marc-André Moreau
c5a0c7e97a
libwinpr-utils: add simple image loading/writing test
2014-09-28 11:14:30 -04:00
Marc-André Moreau
1c34583407
libwinpr-utils: add png support
2014-09-28 11:02:39 -04:00
Marc-André Moreau
bbf4732470
Merge branch 'master' of github.com:FreeRDP/FreeRDP
...
Conflicts:
libfreerdp/gdi/gdi.c
2014-09-25 10:34:56 -04:00
Marc-André Moreau
86b4123cf0
Merge pull request #2101 from eledoux/ports
...
Ports
2014-09-25 10:38:07 -04:00
Bernhard Miklautz
417707e4b7
winpr-utils: extend LinkedList test
2014-09-24 13:03:46 +02:00
Bernhard Miklautz
7bd62a0127
winpr-utils: fix problem in LinkedList enumerator
...
A segfault can happen if LinkedList_Enumerator_MoveNext is invoked
before LinkedList_Enumerator_Reset was called.
2014-09-24 12:31:52 +02:00
Marc-André Moreau
c4588fb14f
libfreerdp-core: remove dependency on OPENSSL_Applink on Windows
2014-09-19 17:11:56 -04:00
Marc-André Moreau
a00ef5d044
winpr-makecert: remove dependency on OPENSSL_Applink on Windows
2014-09-19 16:23:19 -04:00
Marc-André Moreau
72e7507bee
Merge branch 'shadow' of github.com:awakecoding/FreeRDP
...
Conflicts:
libfreerdp/core/capabilities.c
2014-09-19 14:39:43 -04:00
Marc-André Moreau
d102e746c8
Merge branch 'awakecoding' of github.com:vworkspace/FreeRDP
...
Conflicts:
libfreerdp/core/license.c
libfreerdp/core/nego.c
winpr/libwinpr/synch/wait.c
2014-09-19 14:38:25 -04:00
Marc-André Moreau
09fc388e03
shadow: add RefreshRect/SuppressOutput support
2014-09-18 22:18:58 -04:00
Marc-André Moreau
2a5192b027
Merge branch 'master' of github.com:awakecoding/FreeRDP into egfx
...
Conflicts:
client/Windows/wf_cliprdr.h
client/Windows/wf_event.h
client/X11/xf_client.c
client/X11/xf_gdi.c
libfreerdp/gdi/gdi.c
server/Mac/mf_input.c
2014-09-17 19:09:56 -04:00
Marc-André Moreau
f0bff7e890
libwinpr-sspi: fix NTLM strict error check
2014-09-17 18:44:59 -04:00
Armin Novak
e0fe6d58b8
Removing platform specific library prefix for library tests.
2014-09-17 11:27:11 +02:00
Armin Novak
059374457d
Removed library prefix override.
2014-09-17 11:27:11 +02:00
Armin Novak
4004543a33
Default WLog_Level is now INFO.
2014-09-17 09:28:40 +02:00
Emmanuel Ledoux
e9749c6b3f
serial: ability to turn on the permissive mode from the command line
2014-09-16 12:08:33 +02:00
Emmanuel Ledoux
275a1b9bc4
winpr-comm: fixed set_baud_rate()/get_baud_rate() functions in comm_serial_sys.c (the issue came from a wrong extrapolation of the COMMPROP's MaxBaud field)
...
winpr-comm: got rid of SERIAL_BAUD_* values which are identical to BAUD_* ones
2014-09-16 11:21:01 +02:00
Armin Novak
69c0aa4b22
Fixed missing log message formatting argument on android.
2014-09-16 10:14:18 +02:00
Armin Novak
81a4081279
Decreased logging verbosity.
2014-09-16 09:37:45 +02:00
Marc-André Moreau
b0d27beae3
mfreerdp: add egfx support
2014-09-13 12:02:53 -04:00
Bernhard Miklautz
2218e9684a
Fix: misc compiler warnings
...
Seen in Xcode
2014-09-12 00:36:29 +02:00
Bernhard Miklautz
8dc70f4045
fix build warning
...
warning: implicit declaration of function ‘winpr_bitmap_write’
[-Wimplicit-function-declaration]
2014-09-11 17:26:01 +02:00
Armin Novak
38d110da03
Fixed string size calculation in winpr_HexDump
2014-09-11 13:59:48 +02:00
Armin Novak
19bbab3078
Reformatted header with astyle 2.03, fixing extern "C" scope inentation.
2014-09-11 12:39:02 +02:00
Armin Novak
263393d649
Added braces to distinguish between pointer dereference and multiplication.
2014-09-11 12:09:06 +02:00
Armin Novak
cceb216e2e
Replaced fprintf with WLog_ERR.
2014-09-09 16:35:04 +02:00
Armin Novak
0131e576b7
Fixed Barrier test. First get the thread ID, then wait for the barrier to be reached.
2014-09-09 16:33:05 +02:00
Armin Novak
41e7fdd95f
Fixed missing initialisation of position variable.
2014-09-09 16:33:05 +02:00
Armin Novak
a15df299e9
Removed last remainig printf.
2014-09-09 16:32:23 +02:00
Armin Novak
6a26e33695
Fixed winpr_HexDump calls in debug mode.
2014-09-09 16:32:22 +02:00
Armin Novak
26887de257
Fixed arguments for WLog_Print in logging macros.
2014-09-09 16:32:22 +02:00
Armin Novak
25e9ebadc2
Using trio_snprintf now.
2014-09-09 16:32:22 +02:00
Armin Novak
b22b897389
Reformatted changed files.
2014-09-09 16:32:22 +02:00
Armin Novak
a738f3c6ce
Added stacktrace in case of log recursion.
2014-09-09 16:32:04 +02:00
Armin Novak
6baf98dcda
Moved logging defines to main logger.
2014-09-09 16:32:04 +02:00
Armin Novak
7e3a1b3073
Now using macro to generate module specific log tag.
2014-09-09 16:32:04 +02:00
Armin Novak
28ece6bb46
Replaced stdio logging with WLog
2014-09-09 16:31:46 +02:00
Armin Novak
3e21e570b8
Added recursion detection to WLog.
...
Dump functions now expect TAG and level as arguments.
2014-09-09 16:31:46 +02:00
Armin Novak
c32c48fbb6
Added recursion guard to logging functions.
2014-09-09 16:30:52 +02:00
Marc-André Moreau
fd7b9669a5
libfreerdp-codec: improve progressive unit tests
2014-09-03 18:47:02 -04:00
Marc-André Moreau
320b1d35ed
libwinpr-utils: centralize bitmap utils
2014-09-03 16:20:50 -04:00
Mike McDonald
2ec493d094
Reverted WaitForSingleObject for event handles to retry the select upon receiving an EINTR error
2014-08-21 08:21:29 -04:00
Marc-André Moreau
1a8c763309
Merge branch 'shadow' of github.com:awakecoding/FreeRDP
2014-08-18 17:06:13 -04:00
Marc-André Moreau
5e177118aa
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-08-18 16:23:45 -04:00
Marc-André Moreau
f30d7cf66a
Merge pull request #2024 from repzilon/master
...
uclibc build fixes and recompressed images
2014-08-18 13:08:52 -04:00
Marc-André Moreau
065d6f0c99
Merge pull request #2010 from hardening/list_return_value
...
Make LinkedList return errors when something fails
2014-08-18 13:05:18 -04:00
Marc-André Moreau
78d43ced3d
Merge branch 'master' of github.com:awakecoding/FreeRDP into shadow
2014-08-15 11:44:07 -04:00
Marc-André Moreau
168d46f253
Merge branch 'awakecoding' of github.com:vworkspace/FreeRDP
...
Conflicts:
libfreerdp/core/nego.c
libfreerdp/core/peer.c
winpr/libwinpr/synch/wait.c
2014-08-15 11:43:50 -04:00
Armin Novak
fd2c1a7508
Fixed license header, added correct copyright.
2014-08-14 10:42:10 +02:00
Armin Novak
77ae3bc8b3
Fixed missing argument checks in logger, fixed crashes if file not created.
2014-08-14 10:38:02 +02:00
Armin Novak
e700dc6818
Winpr stacktrace header.
2014-08-14 10:37:48 +02:00
Armin Novak
494ca1f1a3
Added winpr functions to generate a stacktrace.
...
Added libcorkscrew headers for stacktrace on android.
Added execinfo.h detection for stacktrace on linux.
2014-08-14 10:36:50 +02:00
Armin Novak
93ad5b7335
Implemented default fnObjectEquals function.
...
Implemented ArrayList_Contains.
ArrayList_IndexOf and ArrayList_LastIndexOf now use comparison function.
2014-08-13 14:15:17 +02:00
Marc-André Moreau
1ba42dccf3
shadow: improve DXGI support
2014-08-12 16:57:58 -04:00
Marc-André Moreau
90d202ab87
server: fix build on Windows
2014-08-11 19:31:38 -04:00
Marc-André Moreau
e4a4aa4d3a
Merge branch 'master' of github.com:awakecoding/FreeRDP into shadow
...
Conflicts:
channels/encomsp/client/encomsp_main.c
libfreerdp/core/tcp.c
libfreerdp/crypto/certificate.c
server/Windows/CMakeLists.txt
server/X11/xf_cursor.c
server/X11/xf_input.c
server/X11/xf_interface.c
server/X11/xf_monitors.c
server/X11/xf_peer.c
2014-08-11 19:22:33 -04:00
Marc-André Moreau
87fd839a35
libfreerdp-codec: cleanup and fix __lzcnt on Windows
2014-08-11 18:48:42 -04:00
Marc-André Moreau
dc7f89dbd5
Merge branch 'egfx' of github.com:awakecoding/FreeRDP
2014-08-11 17:25:38 -04:00
Marc-André Moreau
cff9c16c1e
Merge branch 'master' of github.com:FreeRDP/FreeRDP
...
Conflicts:
channels/disp/client/disp_main.c
2014-08-11 10:36:07 -04:00
Armin Novak
2436e41e63
Fixed warnings for comm tests.
2014-08-11 09:17:56 +02:00
Marc-André Moreau
6c85505ecc
libwinpr-synch: replace pthreads-based barrier implementation by interlocked operations + event and avoid deadlocks
2014-08-08 21:02:15 -04:00
Marc-André Moreau
54264936d1
shadow: improve synchronization barrier usage
2014-08-08 20:51:26 -04:00
Marc-André Moreau
edde16e9d5
libwinpr-synch: add initial synchronization barrier implementation
2014-08-08 17:34:30 -04:00
Armin Novak
e6ed76977a
DEBUG_PRINT now a define, resolves linking issues.
...
Using log name as logcat tag now.
Removed log name from default android log formatting.
2014-08-07 21:51:52 +02:00
Armin Novak
1a37435a26
Added redirection of ConsoleAppender to logcat, if used on android.
...
Using custom default format for log messages on android.
2014-08-07 17:47:59 +02:00
Rene Rheaume
5f9c36da5d
* Use futimens that is POSIX-compliant and compatible with uclibc instead of futimes.
...
* Borrowed eventfd_read and eventfd_write from bionic for uclibc compatibility (uclibc headers are broken unfortunately). Bionic and
FreeRDP are both under the Apache 2.0 license.
2014-08-06 22:06:01 -04:00
Marc-André Moreau
22d3b6c74b
libfreerdp-codec: remove old RemoteFX RLGR implementation in favour of faster one
2014-08-05 21:41:58 -04:00
Marc-André Moreau
3895c930a3
Merge branch 'master' of github.com:awakecoding/FreeRDP into shadow
2014-08-05 09:56:12 -04:00
Marc-André Moreau
85b1d6c167
Merge branch 'master' of github.com:FreeRDP/FreeRDP
...
Conflicts:
libfreerdp/codec/h264.c
2014-08-05 09:55:54 -04:00
Marc-André Moreau
51f6ffd2ba
libfreerdp-codec: improve rfx progressive RLGR1 implementation
2014-08-02 22:26:05 -04:00
Mike McDonald
ca0ddf4039
Merge branch 'awakecoding' of https://github.com/vworkspace/FreeRDP into awakecoding
2014-08-01 15:49:19 -04:00
Mike McDonald
12c0bd64f0
Removed loop which was retrying the select after being interrupted by a signal. This was leading to threads blocking forever.
2014-08-01 15:48:54 -04:00
Norbert Federa
9bde12f26a
winpr/utils/ssl: fix comp warning and wrong param
2014-07-31 11:22:46 +02:00
Hardening
ff95b9aafa
Make LinkedList return errors when something fails
2014-07-31 10:38:59 +02:00
Bernhard Miklautz
a124f6a7c6
fix comment style
...
// to /* */
2014-07-29 05:22:30 +02:00
Bernhard Miklautz
a9eed46e38
Fix warnings found in Xcode
2014-07-29 05:22:30 +02:00
Bernhard Miklautz
352dbd52e2
winpr/comm: don't build on apple
...
Since code is only defined on linux building comm causes /usr/bin/ranlib
to warn about empty objects and the test doesn't build at all on apple.
2014-07-29 05:22:29 +02:00
Bernhard Miklautz
8c318da7b1
fix compiler warnings
2014-07-29 05:22:29 +02:00
Bernhard Miklautz
b8415af0d8
Fix compiler warnings.
...
This commit is based on pull request #1493
2014-07-29 05:22:29 +02:00
Marc-André Moreau
8321d7ffad
libfreerdp-codec: fix OpenH264 usage thanks to @erbth's hack
2014-07-28 17:22:02 -04:00
Marc-André Moreau
b56eaccdc3
Merge branch 'master' of github.com:FreeRDP/FreeRDP
...
Conflicts:
client/common/client.c
2014-07-28 16:58:32 -04:00
Norbert Federa
cdcdec99bc
OpenSSL thread safety
...
freerdp/winpr had the following issues:
* The non reentrant SSL_library_init() was called concurrently (crash)
* Missing code/api to set the eventually required OpenSSL static and dynamic locking callbacks
* Missing code/api to free the application-global or thread-local OpenSSL data and tables
This commit creates two new winpr functions:
BOOL winpr_InitializeSSL(DWORD flags):
Use the flag WINPR_SSL_INIT_ALREADY_INITIALIZED if you want to tell winpr that
your application has already initialized OpenSSL.
If required use the flag WINPR_SSL_INIT_ENABLE_LOCKING to tell winpr that it
should set the OpenSSL static and dynamic locking callbacks.
Otherwise just call it with the flag WINPR_SSL_INIT_DEFAULT.
The recommended way is that your application calls this function once before
any threads are created. However, in order to support lazy OpenSSL library
initialization winpr_InitializeSSL() can also safely be called multiple times
and concurrently because it uses the new InitOnceExecuteOnce() function to
guarantee that the initialization is only performed successfully once during
the life time of the calling process.
BOOL winpr_CleanupSSL(DWORD flags):
If you create a thread that uses SSL you should call this function before the
thread returns using the flag WINPR_SSL_CLEANUP_THREAD in order to clean up
the thread-local OpenSSL data and tables.
Call the function with the flag WINPR_SSL_CLEANUP_GLOBAL before terminating
your application.
Note: This commit only replaced the current occurences of the
SSL_load_error_strings(); SSL_library_init(); pairs in the freerdp source
with winpr_InitializeSSL(). None of the server or client applications has been
changed according to the recommended usage described above (TBDL).
2014-07-28 21:55:57 +02:00
Marc-André Moreau
2036b443eb
libwinpr-wtsapi: fix WtsApi32.dll dynamic loading on Windows
2014-07-26 15:23:39 -04:00
Norbert Federa
fae8f6fbf2
winpr/sync: Added InitOnceExecuteOnce plus CTest
2014-07-24 21:12:59 +02:00
Marc-André Moreau
d8b858811f
shadow: initial windows server-side connectivity
2014-07-17 21:15:22 -04:00
Marc-André Moreau
19c25cf2b4
winpr-pool: fix header on non-Windows
2014-07-17 17:34:51 -04:00
Marc-André Moreau
a23d5ea527
winpr/makecert: improve command line options
2014-07-17 16:47:29 -04:00
Marc-André Moreau
e6f4754ed3
winpr: improve windows builds across visual studio versions and toolsets
2014-07-17 15:11:04 -04:00
Marc-André Moreau
4f4603133e
winpr: fix build on Windows with unit tests
2014-07-17 12:02:47 -04:00
Marc-André Moreau
0fb3bf1dfd
winpr/tools/makecert: add pfx support
2014-07-16 17:13:02 -04:00
Norbert Federa
6b47229563
Merge pull request #1955 from nfedera/fix-2014-07-10-02
...
winpr: CloseHandle did not release the thread TCB
2014-07-11 16:35:12 +02:00
Armin Novak
ad3255354d
Added WITH_LIBRARY_VERSIONING, allowing to build shared libraries without
...
SOVERSION information. (required by Android)
2014-07-11 11:53:58 +02:00
Bernhard Miklautz
7b450f4012
winpr: fix handling of absolute include paths
...
Don't prefix include paths if it is absolute
2014-07-10 17:40:27 +02:00
Norbert Federa
aac57e7e72
winpr: CloseHandle did not release the thread TCB
...
This resulted in huge memory leaks - 8MB per thread, depending on
the system's default stack size.
The leak happend even if CloseHandle() was correctly used to "detach"
the thread but WaitForSingleObject was never called.
2014-07-10 12:28:35 +02:00
Bernhard Miklautz
6a49bcfe40
winpr: always build "monolitic"
...
winpr is now always build as single library.
The build option MONOLITHIC_BUILD doesn't influence this behavior anymore.
The only exception is winpr-makecert-tool which is still build as extra
library.
This obsoletes complex_libraries for winpr.
2014-07-10 11:10:58 +02:00
Marc-André Moreau
2e1f6b0c6d
libwinpr-crt: fix realloc to smaller size
2014-07-09 20:10:33 -04:00
Marc-André Moreau
ac7d23b9a3
libfreerdp-gdi: migrate to _aligned_malloc/_aligned_free
2014-07-08 15:07:19 -04:00
Bernhard Miklautz
199d53bb00
Merge pull request #1942 from hardening/kill_select
...
Use poll() instead of select() when available
2014-07-08 16:36:04 +02:00
Hardening
f09076e4d2
Add a guard on nCount with MAXIMUM_WAIT_OBJECTS + cosmetic fixes
2014-07-07 14:50:05 +02:00
Hardening
4bb910fec5
Fixed a typo
2014-07-04 22:14:04 +02:00
Emmanuel Ledoux
2d48323865
winpr-comm: UGLY: attempt to resolve the linking issue below specific to debian-squeeze. This might end up in some circular dependencies...
...
Linking C executable ../../../../Testing/TestInterlocked
../../handle/libwinpr-handle.so.1.1.0: undefined reference to `LeaveCriticalSection'
2014-07-04 18:02:35 +02:00
Emmanuel Ledoux
80f641c38a
winpr-comm, serial: excluded Android platforms as well
2014-07-04 17:40:06 +02:00
Emmanuel Ledoux
7bbeff3427
winpr-comm: made its current implementation verific specific to __linux__ since it was done on top of NTTY.
2014-07-04 16:16:26 +02:00
Hardening
16681cc91a
Fix header inclusion
2014-07-04 16:11:19 +02:00
Hardening
4b3dc22a79
Fix missing include for macOS
2014-07-04 15:29:21 +02:00
Emmanuel Ledoux
9217de3bb1
winpr-utils: WLog_PrintMessageVA, include stdarg.h from wlog.h instead of wlog.c
2014-07-04 14:52:13 +02:00
Emmanuel Ledoux
37dc55d7c2
winpr-comm: fixed QueryCommDevice() when used with some wide characters
2014-07-04 12:24:41 +02:00
Emmanuel Ledoux
94dfce4f52
winpr-comm: made the unit tests to succeed when /dev/ttyS0 is not available
2014-07-03 19:01:45 +02:00
Hardening
542811291c
Use poll() instead of select() when available
...
select() has the major drawback that it cannot handle file descriptor
that are bigger than 1024. This patch makes use of poll() instead of
select() when poll() support is available.
2014-07-03 15:26:49 +02:00
Emmanuel Ledoux
fba58a5b90
winpr-comm: added _HandleCloseCbsLock to protect accesses to _HandleCloseCbs
2014-07-03 11:24:37 +02:00
Emmanuel Ledoux
87ce88370a
winpr-comm: added _HandleCreatorsLock to protect accesses to _HandleCreators
2014-07-03 11:20:46 +02:00
Emmanuel Ledoux
0bd9f1b789
winpr-comm: added _CommDevicesLock to protect accesses to _CommDevices
2014-07-03 11:07:48 +02:00
Emmanuel Ledoux
db1fba3a68
Revert "winpr-handle: removed RegisterHandleCloseCb() which would require a better synchronization"
...
RegisterHandleCloseCb() is also useful to don't get a circular dependency, a better synchronization must be find out...
This reverts commit 8f3b3fa573
.
2014-07-02 16:57:20 +02:00
Emmanuel Ledoux
8f3b3fa573
winpr-handle: removed RegisterHandleCloseCb() which would require a better synchronization
...
winpr-comm: don't use anymore RegisterHandleCloseCb()
2014-07-02 16:19:28 +02:00
Emmanuel Ledoux
0d54307251
winpr-comm: introduced CommLog_Print(...). Don't use anymore DEBUG_WARN() and DEBUG_MSG() macros
2014-07-02 15:59:16 +02:00
Emmanuel Ledoux
300a511672
winpr-utils: exported WLog_PrintMessageVA() and defined WLog_PrintVA() in order to be then able to wrap wlog messages in another variadic function.
2014-07-02 15:37:13 +02:00
Emmanuel Ledoux
9fc225ac5d
Merge branch 'ports'
...
Conflicts:
channels/serial/client/serial_tty.c
2014-06-30 17:22:15 +02:00
Emmanuel Ledoux
d93c6b1362
serial: don't use wlog API yet
...
winpr-comm: cleared some #warnings due to wrong printf formats
2014-06-25 17:02:10 +02:00
Marc-André Moreau
c156006195
Merge branch 'master' of github.com:awakecoding/FreeRDP into egfx
2014-06-23 11:55:27 -04:00
Marc-André Moreau
78d3c82798
xfreerdp: fix multiple egfx-related memory leaks
2014-06-20 13:52:13 -04:00
Emmanuel Ledoux
11ed1f122f
winpr-comm: comm_serial_sys, got rid of the latest TMP tags
2014-06-20 16:30:59 +02:00
Emmanuel Ledoux
b2bfc8004c
winpr-comm: gathered together all SERIAL_EV_* #defines
2014-06-20 15:56:41 +02:00
Marc-André Moreau
ce6ff35297
xfreerdp: fix egfx off-by-one errors
2014-06-19 17:08:50 -04:00
Emmanuel Ledoux
f454a5c0c8
winpr-handle: CloseHandle(), added ability to register some callback functions
...
winpr-comm: implemented CommCloseHandle()
2014-06-19 19:07:45 +02:00
Emmanuel Ledoux
d38a323526
winpr-comm, winpr-file: better initialization of the static variables
2014-06-19 12:03:36 +02:00
Marc-André Moreau
8688eabc23
Merge pull request #1914 from hardening/pipe_eintr
...
Silently handle EINTR and retry operation
2014-06-18 17:53:16 -04:00
Marc-André Moreau
3aac5ec897
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-06-18 16:12:54 -04:00
Hardening
9039a23de3
Silently handle EINTR and retry operation
2014-06-18 22:09:07 +02:00
Marc-André Moreau
948d137426
libwinpr-sspi: add support for passing NTLMv2 hash
2014-06-18 16:02:13 -04:00
Marc-André Moreau
7818c77e5e
Merge branch 'master' of github.com:awakecoding/FreeRDP into egfx
2014-06-18 15:19:52 -04:00
Marc-André Moreau
e272bc923e
libwinpr-sspi: fix server-side NTLM authentication against NTLMv2 without key exchange
2014-06-18 14:42:35 -04:00
Emmanuel Ledoux
e6c82f99d5
serial: ability to setup the server serial driver thanks to a third parameter on the command line
2014-06-18 18:20:21 +02:00
Hardening
bf30d54fac
Merge pull request #1902 from hardening/pipeFix
...
Don't forget to SetLastError() on disconnection
2014-06-18 17:01:09 +02:00
Emmanuel Ledoux
62298fcd95
winpr-comm: renamed REMOTE_SERIAL_DRIVER by SERIAL_DRIVER or ServerSerialDriver according the context
2014-06-18 15:58:08 +02:00
Emmanuel Ledoux
62d893b2bd
winpr-comm: implemented IOCTL_SERIAL_RESET_DEVICE
2014-06-17 17:49:06 +02:00
Emmanuel Ledoux
9fc0e6eccc
winpr-comm: CommReadFile and CommWriteFile are now protected by a mutex
...
winpr-comm: implemented IOCTL_SERIAL_IMMEDIATE_CHAR
2014-06-17 16:34:20 +02:00
Emmanuel Ledoux
34c3654faf
winpr-comm: implemented IOCTL_SERIAL_CONFIG_SIZE
2014-06-17 15:19:16 +02:00
Emmanuel Ledoux
0db3d9dbb0
winpr-comm: cleaning up code, focused on indentation and whitespaces
2014-06-16 19:18:45 +02:00
Mario Reja
45f9a72975
Added define guards for _rotl and related bit rotation functions, which collided with function definitions in x86intrin.h
2014-06-13 14:25:28 +03:00
Hardening
b4d756830a
Don't forget to SetLastError() on disconnection
...
Otherwise if the last error was a ERROR_NO_DATA we have no indication that
the pipe has been closed.
2014-06-12 23:09:49 +02:00
Marc-André Moreau
42c83c25f8
Merge branch 'egfx' of github.com:awakecoding/FreeRDP into egfx
...
Conflicts:
channels/tsmf/client/tsmf_main.c
2014-06-12 12:08:15 -04:00
Armin Novak
fb4fd9f5bb
Added stream pool shrinking if large parts are unused.
2014-06-11 14:38:20 +02:00
Armin Novak
4325741583
Merge remote-tracking branch 'origin/master' into tsmf-gstreamer-1.0
...
Conflicts:
client/X11/xf_client.c
2014-06-11 11:27:08 +02:00
Marc-André Moreau
adbfcf53ea
libwinpr-sspi: fix failing test
2014-06-10 18:09:51 -04:00
Marc-André Moreau
a7de9e5ac9
Merge branch 'master' of github.com:awakecoding/FreeRDP into sspi
...
Conflicts:
winpr/include/winpr/timezone.h
winpr/libwinpr/timezone/timezone.c
2014-06-10 16:40:58 -04:00
Marc-André Moreau
1b93dca6c0
libwinpr-sspi: add support for querying user+domain and setting NTLM hash
2014-06-10 16:38:16 -04:00
Marc-André Moreau
723e9a171b
libwinpr-sspi: fix server-side NLA
2014-06-10 14:38:17 -04:00
Marc-André Moreau
8a343c3e6d
libwinpr-sspi: fix memory leaks
2014-06-10 14:16:02 -04:00
Marc-André Moreau
a27c7d85ed
libwinpr-sspi: patch some memory leaks
2014-06-10 08:40:04 -04:00
Marc-André Moreau
20464a08ee
winpr: remove installable config.h header
2014-06-10 08:24:20 -04:00
Marc-André Moreau
0ebc7e2ab4
libwinpr-sspi: add custom API for passing NTLM hashes and credentials dynamically
2014-06-09 15:25:00 -04:00
Marc-André Moreau
ac9b527991
libwinpr-sspi: fix NTLM SPN context helper
2014-06-08 09:14:49 -04:00
Marc-André Moreau
1c0ba4ca9a
libwinpr-sspi: add tests for NTLM
2014-06-07 18:28:02 -04:00
Marc-André Moreau
66d2b3ed93
libwinpr-sspi: fix server-side negotiate module
2014-06-07 17:08:07 -04:00
Marc-André Moreau
a37c6bb653
libwinpr-sspi: fix build on Linux
2014-06-07 16:46:32 -04:00
Marc-André Moreau
03cf7933d9
libwinpr-sspi: start implementing and using negotiate sspi module
2014-06-07 16:26:57 -04:00
Marc-André Moreau
576e0c4d1a
libwinpr-sspi: fix exporting of SSPI API
2014-06-07 14:43:02 -04:00
Alessandro Pilotti
7d2f96e84f
Fixes timezone API definition issues on Windows
...
GetDynamicTimeZoneInformation, SetDynamicTimeZoneInformation and
GetTimeZoneInformationForYear are provided by the Windows SDK accordingly
with ethe MSDN cocumentation for SDK with versions above 7.1A.
Those functions are incorrectly included by the 7.1A SDK if _WIN32_WINNT
>= 0x0501 instead of _WIN32_WINNT >= 0x0600.
The issue arises when building with an XP compatible toolset (e.g.
v120_xp).
2014-06-07 20:11:32 +03:00
Marc-André Moreau
a07f616895
libwinpr-sspi: improve link interface
2014-06-07 10:50:51 -04:00
Marc-André Moreau
1b5a2340d2
libwinpr-sspi: even more code hardening
2014-06-07 00:17:11 -04:00
Marc-André Moreau
220f885774
libwinpr-sspi: code hardening
2014-06-06 17:20:34 -04:00
Marc-André Moreau
940e6fbc15
libwinpr-sspi: make native sspi option dynamic
2014-06-06 15:34:12 -04:00
Marc-André Moreau
907a29d0ba
libwinpr-sspi: isolate winpr implementation
2014-06-05 22:54:31 -04:00
Marc-André Moreau
c5a1a8ac27
libwinpr-sspi: fix native sspi build
2014-06-05 22:10:08 -04:00
Marc-André Moreau
886cd9b0c5
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-06-04 12:01:40 -04:00
Marc-André Moreau
00667fa75c
Merge pull request #1872 from nfedera/fix-2014-05-28-01
...
winpr: rewrite named pipe sharing
2014-06-04 12:00:05 -04:00
Marc-André Moreau
659f80e172
libwinpr-smartcard: avoid using pcsc-lite's buggy transaction system
2014-06-02 21:49:49 -04:00
Marc-André Moreau
f5bfb98aca
channels/smartcard: experiment with multiple card contexts
2014-06-02 17:20:01 -04:00
Marc-André Moreau
1359d7c27e
Merge branch 'awakecoding' of github.com:vworkspace/FreeRDP
2014-06-02 12:08:19 -04:00
Mike McDonald
ed8ea297e7
Modified SCardConnect/SCardDisconnect logic to prevent more than one card from being connected to a context. Trying to connect more than once to a context without doing a disconnect can cause a deadlock in the pcsclite daemon (pcscd).
2014-06-02 11:08:32 -04:00
Marc-André Moreau
cd149ed167
libwinpr-winsock: fix non-monolithic build
2014-06-01 22:25:19 -04:00
Marc-André Moreau
abd475060c
libwinpr-winsock: fix build on Windows
2014-06-01 21:52:33 -04:00
Marc-André Moreau
04968b18c4
libfreerdp-core: replace all OpenSSL built-in BIOs by new full duplex BIOs
2014-06-01 21:37:20 -04:00
Marc-André Moreau
1172596d59
libwinpr-winsock: initial winsock implementation
2014-06-01 15:04:28 -04:00
Marc-André Moreau
1ddd6c5e0d
libwinpr-utils: add WLog support for Win32 debugger console output
2014-05-31 10:10:19 -04:00
Marc-André Moreau
357b9197a8
libwinpr-timezone: fix build on Windows
2014-05-29 21:29:24 -04:00
Marc-André Moreau
6002188514
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-05-29 19:27:11 -04:00
Marc-André Moreau
5b0a5dd3f1
libwinpr-utils: add WLOG_PREFIX environment variable
2014-05-29 15:42:32 -04:00
Marc-André Moreau
e5a77c3105
libwinpr-utils: add support for fine grained wlog filter
2014-05-29 15:23:15 -04:00
Marc-André Moreau
a6b3fba9b2
libwinpr-sysinfo: implement GetSystemTime, GetLocalTime
2014-05-29 12:39:09 -04:00
Marc-André Moreau
e33d7321bb
libwinpr-timezone: stub functions
2014-05-29 11:58:53 -04:00
Emmanuel Ledoux
50efce67f5
winpr-comm: completed support of Read*Timeout
2014-05-28 22:11:19 +02:00
Emmanuel Ledoux
16b6c44ef7
winpr-comm: need to purge _purge()'s events before read and write operations
2014-05-28 20:15:08 +02:00
Emmanuel Ledoux
f26c7ee498
winpr-comm: fixed _purge(), eventfd_read() and eventfd_write() just return a error code, not a number of bytes read or written
2014-05-28 19:10:01 +02:00
Emmanuel Ledoux
85343a435a
winpr-comm: completed _purge() supporting SERIAL_PURGE_RXABORT
...
winpr-comm: CommReadFile, support of FREERDP_PURGE_RXABORT sent by _purge()
2014-05-28 18:42:23 +02:00
Emmanuel Ledoux
cdbba47eee
winpr-comm: CommWriteFile, completed support of WriteTotalTimeout
2014-05-28 17:18:33 +02:00
Emmanuel Ledoux
4715009965
winpr-comm: completing _purge() on write operations (SERIAL_PURGE_TXABORT)
...
winpr-comm: CommWriteFile, implemented the WriteTotalTimeout
2014-05-28 16:41:24 +02:00
Marc-André Moreau
af6fb83d3b
libwinpr-utils: extend wlog prefix format
2014-05-28 10:38:32 -04:00
Norbert Federa
5d82ff3c5d
winpr: fixed non monolithic build issue
2014-05-28 16:22:32 +02:00
Norbert Federa
aa2efaf573
winpr: rewrite named pipe sharing
...
Since commit 5e09e37d42
was basically unfixable,
here is a slightly different approach that should hopefully solve all
discovered issues and race conditions.
2014-05-28 13:54:08 +02:00
Emmanuel Ledoux
1e9e8b68bf
winpr-comm: got IOCTL_SERIAL_GET_DTRRTS
2014-05-28 11:39:10 +02:00
Emmanuel Ledoux
f959590bd2
winpr-comm: _get_commstatus() just some comments about HoldReasons.
2014-05-28 10:44:52 +02:00
Emmanuel Ledoux
b8d00e41c4
- winpr-comm: fixed again the synchronization arround PendingEvents. Prefer to wait for the end of _wait_on_mask() inside _set_wait_mask()
2014-05-27 17:29:55 +02:00
Emmanuel Ledoux
ae3dd68b88
winpr-comm: fixed _set_wait_mask() on previous commit
2014-05-27 16:27:04 +02:00
Emmanuel Ledoux
1aeca8fbc7
- serial: terminates IRP threads more gracefully and avoiding warning messages.
2014-05-27 16:17:47 +02:00
Emmanuel Ledoux
b889ad7125
winpr-comm: reviewed the synchronization around counters, WaitMask and PendingEvents variables. Got rid of the semaphore PendingEventsSem.
2014-05-27 12:29:24 +02:00
Emmanuel Ledoux
9796224936
- winpr-comm: got a finalized version of IOCTL_SERIAL_WAIT_ON_MASK
...
- serial: cleaning up the code
2014-05-27 11:33:10 +02:00
Marc-André Moreau
ba5d84ee5c
libwinpr-smartcard: add logging for each calls in smartcard inspector
2014-05-26 17:54:39 -04:00
Marc-André Moreau
b6a8767b71
libwinpr-smartcard: start smartcard API inspector
2014-05-26 15:57:37 -04:00
Norbert Federa
538cc2d4a8
winpr: fixed incorrect pipe reference count usage
...
- refcount is only relevant for servermode
- refcount was used uninitialized in clientmode
- credit for fix goes to @bmiklautz
Bug was introduced by 5e09e37d42
2014-05-26 21:24:34 +02:00
Emmanuel Ledoux
13e10c5de9
winpr-comm: identified the ioctl 0x00220034 as IOCTL_USBPRINT_GET_1284_ID (support not yet implemented)
2014-05-26 16:31:56 +02:00
Marc-André Moreau
ad8f031a88
Merge pull request #1864 from MartinHaimberger/namedpipefix
...
fixed introduced winpr bug in namedpipes
2014-05-26 08:10:28 -04:00
Martin Haimberger
c958f81016
fixed introduced winpr bug in namedpipes
...
Bug was introduced by 5e09e37d42
2014-05-26 03:04:22 -07:00
Marc-André Moreau
c866d19bd4
winpr-crt: fix bit rotation macros
2014-05-23 14:00:46 -04:00
Emmanuel Ledoux
1b54ecfc00
winpr-comm: replaced the cumbersome hashtable for defined COM defines by a simpler array[128]
2014-05-23 17:46:05 +02:00
Emmanuel Ledoux
5dc21b5604
winpr-comm: renamed waitMask WaitEventMask
...
winpr-comm: removed ReadIrpQueue
2014-05-23 15:55:44 +02:00
Emmanuel Ledoux
a36467c353
winpr-comm: don't loop yet on IOCTL_SERIAL_WAIT_ON_MASK
2014-05-23 15:16:07 +02:00
Emmanuel Ledoux
1cb1fd6764
winpr-comm: IOCTL_SERIAL_SET_XON / IOCTL_SERIAL_SET_XOFF not supposed to be supported by SerCx2.sys
2014-05-23 15:06:15 +02:00
Armin Novak
309405592e
Fixed broken ArrayList_Remove and ArrayList_RemoveAt functions, freeing element now.
2014-05-23 13:43:14 +02:00
Emmanuel Ledoux
4feafcc40d
winpr-comm: got IOCTL_SERIAL_SET_XOFF and IOCTL_SERIAL_SET_XON
2014-05-23 13:04:43 +02:00
Emmanuel Ledoux
ee268a92ee
serial: got a thread per IRP
...
winpr-comm: got IOCTL_SERIAL_GET_COMMSTATUS, IOCTL_SERIAL_SET_BREAK_ON and IOCTL_SERIAL_SET_BREAK_OFF
winpr-comm: tcdrain called by CommWriteFile() :(
2014-05-23 12:27:09 +02:00
Marc-André Moreau
19b25a792e
winpr-crt: add bit rotation functions
2014-05-22 16:31:14 -04:00
Marc-André Moreau
cd35b2772f
libwinpr-thread: fix compilation on Android
2014-05-22 15:32:49 -04:00
Marc-André Moreau
ae368549ad
freerdp: fix compilation on Windows
2014-05-22 14:42:05 -04:00
Marc-André Moreau
146305f9b2
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-05-22 13:59:25 -04:00
Marc-André Moreau
247beff1b3
winpr: fix test compilation on Windows
2014-05-22 13:50:01 -04:00
Martin Haimberger
535d7668a7
fixed missing extern C for cpp in makecert.h
2014-05-22 01:28:01 -07:00
Marc-André Moreau
4bac8374de
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-05-21 11:17:58 -04:00
Marc-André Moreau
472c231876
Merge pull request #1826 from Hobby-Student/master
...
fix FreeBSD compile errors
2014-05-21 10:53:47 -04:00
Emmanuel Ledoux
9639da0067
serial: first steps to get a thread per IRP as a proof of concept. A bit of synchronization is still required.
2014-05-21 10:36:55 +02:00
Emmanuel Ledoux
baf4896a38
serial: got rid of most the warning message with MAKE_BUILD_TYPE=Release
...
winpr-comm: consolidated _set_handflow()/_get_handflow()
winpr-comm: introduced a permissive mode
winpr-comm: implementation of IOCTL_SERIAL_WAIT_ON_MASK still in progress
2014-05-19 16:53:57 +02:00
Emmanuel Ledoux
8179affea9
winpr-comm: got IOCTL_SERIAL_PURGE
2014-05-14 21:21:31 +02:00
Emmanuel Ledoux
6cc44ff112
winpr-comm: got IOCTL_SERIAL_SET_QUEUE_SIZE
2014-05-14 17:30:29 +02:00
Emmanuel Ledoux
4243928c2e
winpr-comm: fixed _set_lines() / _clear_lines()
...
winpr-comm: got IOCTL_SERIAL_SET_WAIT_MASK / IOCTL_SERIAL_GET_WAIT_MASK and a non-blocking version of IOCTL_SERIAL_WAIT_ON_MASK
2014-05-14 16:29:10 +02:00
Emmanuel Ledoux
116995f865
wimpr-comm: got IOCTL_SERIAL_GET_MODEMSTATUS
2014-05-13 17:27:51 +02:00
Emmanuel Ledoux
7e36374a89
serial: attempt to use two additional threads for read and write requests
...
winpr-comm: fixed CommWriteFile
2014-05-13 14:55:30 +02:00
Marc-André Moreau
003870157a
libwinpr-smartcard: remove some locks
2014-05-12 17:28:35 -04:00
Emmanuel Ledoux
881370a338
winpr-comm: got IOCTL_SERIAL_SET_RTS / IOCTL_SERIAL_CLR_RTS
2014-05-12 20:33:33 +02:00
Emmanuel Ledoux
7684ff7bd4
winpr-comm: got IOCTL_SERIAL_SET_DTR / IOCTL_SERIAL_CLR_DTR
2014-05-12 20:16:13 +02:00
Emmanuel Ledoux
4c743de69c
winpr-comm: got IOCTL_SERIAL_SET_TIMEOUTS / IOCTL_SERIAL_GET_TIMEOUTS
...
serial redirection: use of winpr-comm's functions and not serial_tty.* anymore
2014-05-12 17:33:56 +02:00
Marc-André Moreau
2da6111972
channels/smartcard: fix clearing of rgSCardContextList
2014-05-12 10:17:49 -04:00
Marc-André Moreau
ae6c778eb7
libwinpr-smartcard: modifying threading
2014-05-11 05:23:30 -04:00
Marc-André Moreau
fda492c58d
libwinpr-smartcard: fix AccessStartedEvent
2014-05-11 01:53:47 -04:00
Marc-André Moreau
d04430cb02
channels/smartcard: implement usage of SCardAccessStartedEvent
2014-05-10 23:43:25 -04:00
Marc-André Moreau
0bcb3eb63d
libwinpr-locale: fix inclusion of stdarg.h
2014-05-10 17:31:42 -04:00
Marc-André Moreau
b8d60d5715
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-05-10 10:59:56 -04:00
Marc-André Moreau
ee282a931b
freerdp: fix build warnings on Windows
2014-05-10 09:50:36 -04:00
Marc-André Moreau
ad9f73350e
libwinpr-smartcard: fix cmake script
2014-05-10 00:50:30 -04:00
Marc-André Moreau
fb3662c7e2
winpr: fix ranlib missing symbols warnings on OS X
2014-05-09 22:44:19 -04:00
Hardening
50f1f0df6f
Add some const modifiers
...
This allows these functions to be used with const buffers.
2014-05-09 22:36:50 +02:00
Marc-André Moreau
bf39fc79b6
Merge branch 'master' of github.com:awakecoding/FreeRDP
2014-05-09 15:45:10 -04:00
Marc-André Moreau
c1d727e9cd
freerdp: fix type build warnings
2014-05-09 15:44:49 -04:00
Marc-André Moreau
bbc9fc4393
freerdp: add more vendor options
2014-05-09 12:25:05 -04:00
Marc-André Moreau
a202fe4057
freerdp: fix several type related warnings
2014-05-08 18:02:02 -04:00
Marc-André Moreau
06d36c7084
libwinpr-pipe: fix circular dependency
2014-05-08 17:17:39 -04:00
Marc-André Moreau
4dc6ffdaaa
Merge branch 'awakecoding' of github.com:vworkspace/FreeRDP
...
Conflicts:
winpr/libwinpr/pipe/pipe.c
2014-05-08 16:38:21 -04:00
Marc-André Moreau
b0a9d7d690
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-05-08 16:11:42 -04:00
Marc-André Moreau
c2bdd5d413
Merge pull request #1825 from hardening/compil_warnings
...
Fix some compilation warnings
2014-05-08 16:09:18 -04:00
Marc-André Moreau
a4df5d8abb
Merge pull request #1834 from bmiklautz/fix/misc
...
Misc small fixes
2014-05-08 15:59:17 -04:00
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
139630be94
makecert: install header file
...
install the makecert header file for the exported static libary to
winpr/tools/makecert.h
2014-05-07 21:09:34 +02:00
Marc-André Moreau
b3114ff4d8
channels/smartcard: improve debug output, fix GetStatusChange SCARD_E_CANCELLED, fix SCardGetAttrib current protocol type
2014-05-06 10:00:44 -07:00
Emmanuel Ledoux
ff4d7d569b
winpr-comm: slightly improved GetCommProperties()
2014-05-06 16:45:05 +02:00
Emmanuel Ledoux
c2b024512a
winpr-comm: got IOCTL_SERIAL_SET_HANDFLOW / IOCTL_SERIAL_GET_HANDFLOW
2014-05-06 16:08:58 +02:00
Marc-André Moreau
4460a1a7cf
libwinpr-utils: flush file after each write in wlog
2014-05-05 18:04:20 -04:00
Marc-André Moreau
38c77eb57c
libwinpr-smartcard: fix SCardGetAttrib for friendly name (unicode)
2014-05-05 17:27:29 -04:00
Marc-André Moreau
9e407e6e22
libwinpr-smartcard: start handling SCardControl control code conversions
2014-05-03 19:02:17 -04:00
Marc-André Moreau
b51da6c6f4
libwinpr-smartcard: improve SCardGetAttrib, fix null SCARDCONTEXT usage in SCardListReaders
2014-05-03 17:07:30 -04:00
Marc-André Moreau
86b018ee21
libwinpr-smartcard: fix pcsc-lite SCARD_IO_REQUEST incompatibility
2014-05-03 14:20:17 -04:00
Marc-André Moreau
cd7e3151cd
libwinpr-smartcard: fix PCSC incompatible type definitions
2014-05-03 13:49:50 -04:00
Hobby-Student
923d9d6365
FreeBSD compile errors - fix typo #3
2014-05-01 20:02:46 +02:00
Hobby-Student
18d70c6cda
FreeBSD compile errors - add comments
2014-05-01 15:24:11 +02:00
Hobby-Student
7c8e1681cc
FreeBSD compile errors - fix typo
2014-05-01 15:17:54 +02:00
Hobby-Student
03315cebe8
FreeBSD compile errors
2014-05-01 15:09:35 +02:00
Emmanuel Ledoux
494b7e8f93
winpr-comm: fixed DCB's fBinary and fParity flags
2014-05-01 00:04:55 +02:00
Emmanuel Ledoux
feb4405941
wimpr-comm: got IOCTL_SERIAL_SET_LINE_CONTROL and IOCTL_SERIAL_GET_LINE_CONTROL
2014-04-29 22:25:07 +02:00
Hardening
597cba042a
Fix some compilation warnings
2014-04-29 16:02:31 +02:00
Emmanuel Ledoux
ee2339addc
winpr-comm: implemented IOCTL_SERIAL_SET_CHARS and IOCTL_SERIAL_GET_CHARS
2014-04-29 04:04:09 +02:00
Emmanuel Ledoux
fff1f22f8c
winpr-comm: completed GetCommProperties() (the underlying ioctl remains unfinished)
2014-04-28 22:56:25 +02:00
Marc-André Moreau
c2a59c23a7
libfreerdp-core: fix potential crash on session redirection failure
2014-04-28 16:44:52 -04:00
Emmanuel Ledoux
18dd3d3141
winpr-comm: tests are done according the "remote serial driver" in TestGetCommState/TestSetCommState
2014-04-28 22:32:27 +02:00
Emmanuel Ledoux
69eeeebe67
winpr-comm: got IOCTL_SERIAL_GET_BAUD_RATE and IOCTL_SERIAL_GET_PROPERTIES (partial)
...
winpr-comm: cleant up unit tests
2014-04-28 19:57:17 +02: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
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
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
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
Emmanuel Ledoux
e7f0185e69
- firt use of winpr-comm by the serial channel (not tested and not finalized)
2014-04-27 19:41:25 +02:00
Marc-André Moreau
769502ec72
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-04-26 13:47:01 -04:00
Zhang Zhaolong
cad2578867
libwinpr: minor fix print uninitialized variable.
2014-04-26 13:13:12 +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
Zhang Zhaolong
196f5315ae
libwinpr: fix memory leak in case realloc() failed.
2014-04-26 11:32:51 +08:00
Marc-André Moreau
cee67b9c5f
libwinpr-smartcard: improve pcsc-lite wrapper robustness
2014-04-25 19:26:55 -07:00
Marc-André Moreau
237eb6140a
libwinpr-smartcard: fix for pcsc-lite SCardGetStatusChange
2014-04-25 20:07:29 -04:00
Marc-André Moreau
746e8a6929
libwinpr-smartcard: fix usage of native data types
2014-04-25 18:49:57 -04:00
Marc-André Moreau
95f9dadbb3
Merge branch 'master' of github.com:awakecoding/FreeRDP into smartcard
2014-04-25 18:22:57 -04:00
Marc-André Moreau
866169bdad
libwinpr-crt: add type sizeof tests
2014-04-25 18:10:04 -04:00
Zhang Zhaolong
66dfc4fd5b
winpr: fix error malloc size.
2014-04-25 21:14:10 +08:00
Emmanuel Ledoux
6fcc1b4478
winpr-comm: first import of comm_ioctl.h and the REMOTE_SERIAL_DRIVER type.
2014-04-25 00:20:48 +02:00
Marc-André Moreau
d6b0b1ae0e
Merge branch 'master' of github.com:awakecoding/FreeRDP into smartcard
2014-04-23 21:31:26 -04:00
Marc-André Moreau
59df3ca733
Merge pull request #1806 from bmiklautz/feat/export_modules
...
Improve pkg-config file generation
2014-04-23 19:37:53 -04:00
Hardening
9d2ea1fcd8
Fix Thread handle leak
...
When a thread pool is release the Thread handle is leaked.
2014-04-23 16:59:14 +02:00
Bernhard Miklautz
dee9188191
update and improve pkg-config files
...
* generate pkg-config files top level to make sure all
exports are available (eg. client/server)
* .pc libs section is now generated from export libraries
* update .pc file to use .private fields (prevent overlinking)
2014-04-23 13:12:23 +02:00
Bernhard Miklautz
b817e92e5e
cmake: mark required libraries for export
2014-04-23 10:16:02 +02:00
Emmanuel Ledoux
21f9bfeb6c
winpr-comm: First implementation of CommCreateFileA()
...
winpr-comm: Implementation of GetCommState()/SetCommState() in progress (BaudRate, fBinary and fParity done)
2014-04-22 17:04:07 +02:00
Emmanuel Ledoux
346c598bbe
Introduced RegisterHandleCreator() to be used with CreateFile()
2014-04-22 17:00:14 +02:00
Marc-André Moreau
784e9abd79
cmake: improve __FILE__ relative path hack
2014-04-21 14:42:24 -04:00
Hardening
bb2852df06
Add an helper function for the Key object
2014-04-18 23:07:43 +02:00
Mike McDonald
b9d5687e99
Added initializer for global BaseNamedPipeList per code review.
2014-04-18 15:11:26 -04:00
Mike McDonald
d8c1133201
Changes to named pipe functions based on code review.
2014-04-18 14:02:44 -04:00
Emmanuel Ledoux
7e44488e0a
winpr-file: introduced HANDLE_CREATOR type
...
winpr-comm: got a _CommHandleCreator
2014-04-18 19:25:25 +02:00
Mike McDonald
5e09e37d42
Modified named pipes to support multiple instances (i.e., multiple calls to CreateNamedPipe with the same pipe name).
2014-04-18 13:16:42 -04:00
Hardening
ef11358668
Enhance ListDictonnary
...
This patch enhances ListDictionnary so that you can set callbacks for
keys and for values.
2014-04-18 18:26:04 +02:00
Emmanuel Ledoux
f9fc107c20
new functions: DefineCommDevice / QueryCommDevice / IsCommDevice
2014-04-18 17:18:08 +02:00
Hardening
6febe88026
Fixes for queue and stack
...
This patch does misc fixes in queue and stack:
* the *_new() were not handling OOM correctly ;
* the *_Contains() methods were not using the equals cb;
* the lock were not always taken when accessing internal members;
2014-04-18 16:27:51 +02:00
Emmanuel Ledoux
75ff8fd9a4
add tchar function: _tcsncmp
2014-04-18 15:04:11 +02:00
Bernhard Miklautz
02c4e261d1
winpr-env: update Get/SetEnvironmentVariableA
...
* set last error to ERROR_ENVVAR_NOT_FOUND in GetEnvironmentVariableA
if not found
* remove unused variables in SetEnvironmentVariableA
* add more test cases
2014-04-17 11:48:50 +02:00
Bernhard Miklautz
291569d1e5
winpr: change GetKnownSubPath to use a const path
2014-04-17 10:04:34 +02:00
Bernhard Miklautz
b8cf4a2304
remove re-declaration of extended pipe functions
...
remove them from winpr/pipe.h since they are defined and declared
in winpr/file.h
2014-04-17 10:04:06 +02:00
Bernhard Miklautz
adff58f48d
winpr/pipe: fix variable type - unsigned to signed
...
fcntl returns int. Comparison to 0 < always returned false.
2014-04-17 10:02:41 +02:00
Marc-André Moreau
19b9ed3bb0
channels/smartcard: some Mac OS X fixes
2014-04-16 14:03:22 -04:00
Marc-André Moreau
77a50401a7
channels/smartcard: fix autoallocate wrapper
2014-04-15 18:45:38 -04:00
Marc-André Moreau
6d7f3cd00c
libwinpr-smartcard: fix SCardGetAttrib SCARD_ATTR_CURRENT_PROTOCOL_TYPE
2014-04-15 18:01:26 -04:00
Marc-André Moreau
fc885dc4b7
libwinpr-smartcard: fix SCardGetAttrib
2014-04-15 17:51:39 -04:00
Marc-André Moreau
a675800d68
channels/smartcard: fix multi-line handling
2014-04-15 16:48:25 -04:00
Marc-André Moreau
38d05b48a0
channels/smartcard: fix reader name aliasing
2014-04-15 13:49:52 -04:00
Marc-André Moreau
0059772efa
Merge pull request #1789 from MartinHaimberger/mh-memfixes
...
Fixed misc leaks
2014-04-14 14:17:30 -04:00
Marc-André Moreau
edb3ad383e
Merge pull request #1784 from hardening/collections_reallocs
...
Don't leak memory when realloc fails
2014-04-14 14:17:05 -04:00
Marc-André Moreau
62481e83ee
channels/smartcard: add more debug output
2014-04-13 16:48:32 -04:00
Marc-André Moreau
d699128a57
channels/smartcard: add more debug output
2014-04-13 15:50:51 -04:00
Marc-André Moreau
9afe63aa76
libwinpr-smartcard: improve GetStatusChange
2014-04-13 00:43:12 -04:00
Marc-André Moreau
a352044c7a
libwinpr-smartcard: implement PCSC/WinSCard reader name aliasing
2014-04-12 23:38:15 -04:00
Marc-André Moreau
2f3c3c4bb1
channels/smartcard: add pcsc-lite protocol value mapping
2014-04-12 18:13:18 -04:00
Marc-André Moreau
1d864fe9af
channels/smartcard: make PCSC implementation even closer to WinSCard
2014-04-12 16:45:06 -04:00
Marc-André Moreau
7ff1c984c2
channels/smartcard: add more debug output, make distinction between reader and card state
2014-04-12 14:31:54 -04:00
Marc-André Moreau
fd6052f348
channels/smartcard: add more debug output
2014-04-12 12:42:09 -04:00
Marc-André Moreau
ee9f44ce5a
libwinpr-smartcard: fix SCardConnectW deadlock
2014-04-12 12:15:04 -04:00
Marc-André Moreau
c106b62920
libwinpr-smartcard: fix deadlock in PCSC_SCardFreeMemory
2014-04-12 11:24:47 -04:00
Marc-André Moreau
727a4914f2
channels/smartcard: add more debug output
2014-04-11 18:57:04 -04:00
Marc-André Moreau
79453d1bb4
channels/smartcard: make handles completely opaque
2014-04-11 16:27:01 -04:00
Mike McDonald
38c7a38141
Merge branch 'fdsapi' of https://github.com/awakecoding/FreeRDP into awakecoding
2014-04-11 10:13:27 -04:00
Martin Haimberger
dd62e88098
fixed Wlog_Uninit to also free child logger
2014-04-11 02:23:16 -07:00
Martin Haimberger
a6c34c114e
using setenv instead of putenv to prevent memleaks
2014-04-11 02:17:43 -07:00
Marc-André Moreau
8cac6519e1
channels/smartcard: added detailed debug tracing
2014-04-11 02:17:36 -04:00
Marc-André Moreau
2b52c294a2
channels/smartcard: minor fixes
2014-04-10 17:36:42 -04:00
Marc-André Moreau
ccea0b1e62
libwinpr-smartcard: more pcsc-lite fixes
2014-04-09 17:44:39 -04:00
Hardening
31c77baba0
Don't leak memory when realloc fails
2014-04-09 21:53:42 +02:00
Marc-André Moreau
912d7f1e4e
libwinpr-smartcard: add proper locking by SCARDCONTEXT for pcsc-lite
2014-04-09 15:32:18 -04:00
Marc-André Moreau
da56c8af62
channels/smartcard: pcsc-lite fixes
2014-04-09 14:27:44 -04:00
Marc-André Moreau
39f04c870e
channels/smartcard: fix some valgrind warnings
2014-04-09 12:28:03 -04:00
Marc-André Moreau
2c016bf2b0
Merge branch 'master' of github.com:FreeRDP/FreeRDP into smartcard
2014-04-09 10:41:05 -04:00
Marc-André Moreau
4093f1a715
Merge pull request #1782 from hardening/oom_cases
...
Treat OOM cases
2014-04-09 10:39:31 -04:00
Hardening
1d1844aabd
Treat OOM cases
2014-04-09 16:07:06 +02:00
Marc-André Moreau
934a5d497b
winpr: fix failing unit tests
2014-04-09 10:01:58 -04:00
Hardening
36b4f20ff8
Fixes in case of OOM
2014-04-09 15:26:43 +02:00
Marc-André Moreau
2060037026
libwinpr-smartcard: fix missing link dependency
2014-04-09 00:10:45 -04:00
Marc-André Moreau
b91c10392f
channels/smartcard: improve SCardGetAttrib
2014-04-08 23:52:24 -04:00
Marc-André Moreau
a32d814218
libwinpr-smartcard: implement SCARD_AUTOALLOCATE
2014-04-08 21:02:30 -04:00
Marc-André Moreau
3e4d30df6c
channels/smartcard: fix ListReaders mszGroups parsing
2014-04-08 18:55:50 -04:00
Marc-André Moreau
d762a284d7
libwinpr-smartcard: improve Mac OS X build
2014-04-08 16:58:51 -04:00
Marc-André Moreau
3a428b87df
libwinpr-smartcard: add option to build statically against specialized pcsclite build
2014-04-08 01:26:28 -04:00
Marc-André Moreau
e3ae293971
channels/smartcard: more code hardening
2014-04-07 17:17:26 -04:00
Marc-André Moreau
21c3fd6093
channels/smartcard: fix GetStatusChangeW
2014-04-07 12:38:27 -04:00
Marc-André Moreau
e75b9aa9fa
channels/smartcard: more unpacking
2014-04-07 01:19:58 -04:00
Marc-André Moreau
c2fb729167
channels/smartcard: implement clean SCardStatusW
2014-04-07 00:58:34 -04:00
Marc-André Moreau
bbfd4fb361
channels/smartcard: implement clean ListReadersW
2014-04-07 00:10:27 -04:00
Marc-André Moreau
9dd9f8c7bf
channels/smartcard: more unpacking
2014-04-06 21:09:49 -04:00
Marc-André Moreau
a22b7af2b9
channels/smartcard: unpacking improvements
2014-04-06 16:29:11 -04:00
Marc-André Moreau
7324ded7a2
channels/smartcard: fix non-monolithic build
2014-04-05 20:05:51 -04:00
Marc-André Moreau
2aa248853a
channels/smartcard: cancel outstanding IRPs on re-initialization
2014-04-05 17:15:17 -04:00
Marc-André Moreau
600218dfb2
channels/smartcard: cleanup ConnectA/ConnectW parsing
2014-04-05 16:06:46 -04:00
Marc-André Moreau
f9ada64587
libwinpr-smartcard: fix compilation on Windows
2014-04-04 16:45:11 -04:00
Marc-André Moreau
91898fb293
libwinpr-smartcard: add winscard.dll backend
2014-04-04 15:50:04 -04:00
Marc-André Moreau
06bf1ecc95
libwinpr-smartcard: implement dynamic API stubs
2014-04-04 15:30:03 -04:00
Marc-André Moreau
33813c08ec
channels/smartcard: cleanup unpacking of data structures
2014-04-04 13:57:28 -04:00
Marc-André Moreau
308e32ccb9
channels/smartcard: refactoring
2014-04-03 17:29:12 -04:00
Marc-André Moreau
89ad7638e4
channels/smartcard: migrate code to libwinpr-smartcard
2014-04-03 15:27:55 -04:00
Marc-André Moreau
d5ca2162ad
libwinpr-smartcard: dynamically load pcsclite
2014-04-02 22:08:04 -04:00
Marc-André Moreau
c1f1ae2f65
libwinpr-smartcard: initial stubs
2014-04-02 20:54:46 -04:00
Marc-André Moreau
8cdb3576c2
Merge branch 'master' of github.com:awakecoding/FreeRDP into smartcard
...
Conflicts:
channels/smartcard/client/smartcard_main.c
2014-04-02 18:27:31 -04:00
Marc-André Moreau
82ed4f0f38
libwinpr-comm: initial stubs
2014-04-02 15:51:28 -04:00
Hardening
ac7507ab8d
Adds some check to treat OOM problems + RDP security fix
...
Malloc can fail so it will, this patch adds some check in some places
where malloc/strdup results were not checked.
This patch also contains a server side fix for RDP security (credit to nfedera).
The signature len was badly set in the GCC packet. And some other RDP security
oriented fixes are also there.
2014-03-25 23:13:08 +01:00