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