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
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
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
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
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
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
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