Commit Graph

132 Commits

Author SHA1 Message Date
Marc-André Moreau
50e8c713a0 channels/smartcard: fix crash and get rid of svc_plugin usage 2013-10-24 15:12:11 -04:00
Armin Novak
c5b3ee9b85 Fixed length check against wrong variable. 2013-10-02 16:48:54 +02:00
Armin Novak
918797914b Fixed accidental double free by realloc. 2013-10-01 14:41:59 +02:00
Armin Novak
29dd9ce861 Resource clean up unified in functions to avoid accidental leaks. 2013-10-01 13:09:52 +02:00
Armin Novak
de835018f4 Fixed invalid preprocessor check. 2013-10-01 12:17:55 +02:00
Armin Novak
a9b5d91fd9 Removed printf. 2013-10-01 12:06:46 +02:00
Armin Novak
05a4f541bd Refactored, now using cached handles, if the context or card handles
are NULL.
2013-09-30 14:49:19 +02:00
Armin Novak
4011fafc51 Now storing established context and using it for messages without
provided context.
2013-09-30 13:29:40 +02:00
Armin Novak
632800679b Merge branch 'smartcard_fixes' of github.com:akallabeth/FreeRDP into smartcard_fixes
Conflicts:
	channels/smartcard/client/smartcard_operations.c
2013-09-24 09:48:21 +02:00
Armin Novak
4d8c47ce92 Replaced linkedLen, which is a padded version of the buffer length
from being used for reading from a packet. Now just used for sanity checks.
2013-09-24 09:23:43 +02:00
Armin Novak
1148a8c9fd Fixed length check, now just assuring data read is available and
ignoring padding length.
2013-09-23 15:10:06 +02:00
Armin Novak
9a08171b88 Dumping stream now. 2013-09-23 09:11:23 +02:00
Armin Novak
cbf5e7e3f8 Fixed clang warnings. 2013-09-13 09:47:18 +02:00
Armin Novak
7cf95bcf6e Fixed compile error. 2013-09-13 09:17:06 +02:00
Armin Novak
32a9bd366c Fixed reading of SCARD_IO_REQUEST structures in Transmit_Call. 2013-09-12 15:50:12 +02:00
Armin Novak
27cb9ee604 Now printing debug message for unhandled data. 2013-09-12 14:10:44 +02:00
Armin Novak
c33821d026 Resource cleanup now done using goto
Length now checked at all places.
2013-09-12 13:53:15 +02:00
Armin Novak
02abe530a8 Added debug output, if some message block could not be read. 2013-09-12 12:30:46 +02:00
Armin Novak
9455c4fa5d Fixed smartcard argument checks.
Fixed smartcard package reading.
2013-09-12 12:18:35 +02:00
Armin Novak
7bc0cbdabf Fixed clang issues. 2013-09-05 12:14:34 +02:00
Armin Novak
e5c138a5b9 Fixed various memory leaks, allocation size issues and API misuse
warnings shown by clang as well as some compiler warnings.
2013-09-05 12:14:34 +02:00
Armin Novak
a3b531c036 Fixed issues found with clang-analyzer 2013-09-05 12:14:33 +02:00
Marc-André Moreau
fd230443c5 freerdp: purge old stream utils 2013-05-08 16:27:21 -04:00
Marc-André Moreau
5b92413843 freerdp: purge deprecated stream utils 2013-05-08 16:09:16 -04:00
Marc-André Moreau
b4cac74136 xfreerdp-server: fix RemoteFX encoding 2013-05-01 18:15:55 -04:00
Marc-André Moreau
51715636a5 freerdp: remove some deprecated stream utils 2013-04-29 22:35:15 -04:00
Hardening
7701c9d934 Replace printf(...) by fprintf(stderr, ...) 2013-03-28 23:06:34 +01:00
Marc-André Moreau
dbbb341098 libfreerdp-utils: purge thread utils 2013-03-21 17:58:18 -04:00
Marc-André Moreau
8c8a82c31f libfreerdp-utils: purge old STREAM utils 2013-03-21 16:45:25 -04:00
Marc-André Moreau
808fc210e3 libfreerdp-utils: remove hexdump utils in favor of WinPR utils 2012-12-13 23:54:54 -05:00
Marc-André Moreau
4e8ac78836 channels/smartcard: remove dependency on deprecated freerdp_thread utils 2012-11-21 12:53:54 -05:00
Marc-André Moreau
ebb1a44ea5 channels/smartcard: refactoring of smartcard code 2012-11-21 11:56:40 -05:00