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
513c963670
Smartcard arguments now optional.
2013-09-12 14:55:25 +02:00
Armin Novak
8f024d46cf
Fixed setting of name and path of smartcard, now determining on number
...
of valid arguments.
2013-09-12 14:41:11 +02:00
Armin Novak
31abdb9103
Fixed setting of smartcard filter name and path.
2013-09-12 14:34:18 +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
Bernhard Miklautz
8baa04e7e5
Merge pull request #1448 from akallabeth/coverity_fixes
...
Multiple resource leak and NULL pointer dereferencing fixes
2013-09-10 00:56:30 -07:00
Armin Novak
3b931a9d69
Reverted accidental commit.
2013-09-06 11:08:45 +02:00
Armin Novak
c986f30c4a
Fixed smartcard related issues with double free.
2013-09-06 10:55:26 +02:00
Armin Novak
8e6b79376c
Fixed possible race found by bmiklautz
2013-09-05 13:41:32 +02:00
Armin Novak
07139276b5
Added newlines at end of file, prevents clang from crashing...
2013-09-05 12:14:35 +02:00
Armin Novak
6ac0b10158
Removed buffer copy, still fixes memory leak.
2013-09-05 12:14:34 +02:00
Armin Novak
854aa3fcfa
Fixed memory leak.
2013-09-05 12:14:34 +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
Armin Novak
1e2455fa4a
Fixed various memory leaks and compiler warnings.
2013-09-05 12:14:33 +02:00
Armin Novak
a3c319c973
Fixed coverity issue 1047567
2013-09-05 12:14:33 +02:00
Armin Novak
82382d88ba
Fixed coverity issue 1047568
2013-09-05 12:14:33 +02:00
Armin Novak
82f0efd6e6
Fixed coverity issue 1047635
2013-09-05 12:14:31 +02:00
Armin Novak
42ceabbebb
Fixed coverity issue 1047636
2013-09-05 12:14:31 +02:00
Armin Novak
d1c24aa873
Fixed coverity issue 1047640.
2013-09-05 12:14:31 +02:00
Armin Novak
8ecbb86acf
Fixed issue #1281 , thread shutdown now properly waiting for quit.
2013-09-05 09:33:12 +02:00
Hardening
c7c5be0bf7
Extract shared code in RAIL channel
...
This patch starts a code mutualisation for a RAIL server-side
implementation. The file rail_common.c contains code that is shared
by both client and server.
2013-08-29 00:06:50 +02:00
Armin Novak
6f9183c7aa
Using a monitor thread for tty input now to work around a WaitForMultipleObjects
...
limitation of winpr.
Using infinite timeout now in threads to reduce CPU usage to nearly zero.
2013-08-16 15:51:44 +02:00
Armin Novak
60d38daf0a
Reset file descriptor set only, if necessary now.
2013-08-16 12:40:06 +02:00
Armin Novak
7f89966efc
Fixed compilation error, now using WaitForMultipleObjects.
2013-08-16 10:50:07 +02:00
Armin Novak
1a96bdc7a5
Fixed initialization of serial device, now aborting pending
...
read / write operations.
2013-08-16 10:34:54 +02:00
Marc-André Moreau
f82c825176
Merge pull request #1422 from akallabeth/serial_event_fix
...
Serial event fix and resource leakage fixes
2013-08-14 08:45:04 -07:00
Armin Novak
e40d921da3
Removed EAGAIN handling, again passing on the error to the server.
2013-08-14 17:33:46 +02:00
Marc-André Moreau
1b25d81086
Merge pull request #1415 from akallabeth/clipboard_fix_clean
...
Clipboard fix
2013-08-14 06:54:52 -07:00
Marc-André Moreau
729f73d52b
Merge pull request #1405 from akallabeth/printer_stop_fix
...
Fix hang on shutdown with printer redirection
2013-08-14 06:54:15 -07:00
Armin Novak
bb0e5f2660
Fixed invalid access to tty in thread, which was already removed by
...
serial_process_irp_close
Retry read now, if non blocking IO returns EAGAIN.
2013-08-14 15:14:40 +02:00
Armin Novak
d4945f7a81
Fixed high CPU usage.
2013-08-14 13:23:55 +02:00
Armin Novak
755bd6980b
Fixed resource leaks and missing thread sync.
2013-08-14 13:23:54 +02:00
Armin Novak
1d2adcbe26
Fixed resource leaks.
2013-08-14 13:23:54 +02:00
Armin Novak
7d27062edd
Using WaitForMultipleObjects now to reduce CPU load.
2013-08-13 14:04:17 +02:00
Armin Novak
1a681ad117
Moved generated tables.c to binary folder.
2013-08-12 13:41:11 +02:00
Armin Novak
d41f2fa2ed
Added links to documentation of message sequences for clipboard data exchange.
2013-08-12 12:47:47 +02:00
Armin Novak
a57f1302f4
Fixed invalid package size allocation and calculation in cliprdr_process_format_list_event
...
Enabled and fixed error handling in cliprdr_process_format_list_response
2013-08-09 16:23:00 +02:00
Armin Novak
44c80c29cc
Fixed #1404 , using WaitForMultipleObjects now.
2013-08-08 14:46:21 +02:00
Marc-André Moreau
9be33f83ea
channels/rdpei: make use of critical section
2013-08-03 16:45:53 -04:00