Kobi Mizrachi
7af2483626
rail: keep extendedSpiSupported flag synced
2019-12-12 11:10:44 +01:00
Kobi Mizrachi
5565b366b0
rail: stream size checks and rail_read_sysparam_order fixes
2019-12-12 11:10:44 +01:00
Armin Novak
2d3d882de9
Stream size checks for rail_write_sysparam_order
...
Ensure the stream is large enough to hold the data
in rail_write_sysparam_order, rail_write_high_contrast and
rail_write_filterkeys.
2019-12-12 11:10:44 +01:00
Mati Shabtay
4dacb57f6f
rail server: implement channel code for rail server
...
* Split common functionality from client code
* Clean up client code and use proper defines for constants
* Implements the channel code to read/write server side
messages.
2019-12-12 11:10:44 +01:00
ajlex140
2f2f4f91d8
reply with empty irp package with error code, if irp device is unavailable
2019-12-09 11:43:02 +01:00
Armin Novak
da6ff1ca65
Removed some unnecessary casts.
2019-12-05 11:40:56 +01:00
Armin Novak
6e6dfc3e2a
Removed rdpsnd client thread
...
The thread used to process audio data is not really required
and just produces overhead.
2019-12-05 11:40:56 +01:00
Martin Fleisz
71feb974ac
Merge pull request #5739 from akallabeth/improve_function_hiding
...
Improve function hiding
2019-12-02 11:31:35 +01:00
Armin Novak
7c243da6e1
Remove symbols exported by accident.
2019-12-02 10:57:31 +01:00
Martin Fleisz
4d8a4d39ba
Merge pull request #5748 from akallabeth/mac_sound_no_mic
...
Fix #5747 : Only open output device in rdpsnd for mac.
2019-11-29 08:19:24 +01:00
David Fort
5e6775ce95
winpr: fix anonymous enum members and menbers without a size
2019-11-25 13:39:31 +01:00
Armin Novak
65ebda20dd
Fix #5747 : Only open output device in rdpsnd for mac.
2019-11-25 08:27:57 +01:00
David Fort
d7e510016a
Merge pull request #5736 from akallabeth/makecert_cleanups
...
Cleaned up code for makecert.
2019-11-20 23:26:31 +01:00
Armin Novak
a5bebd3c65
Fixed scanbuild warnings.
2019-11-20 09:17:08 +01:00
Armin Novak
f9b3f270fe
Fixed path NULL checks.
2019-11-19 10:48:25 +01:00
Armin Novak
4c5bfcc235
Fixed #5727 : drive_process_irp_create set path to NULL if not provided.
2019-11-18 15:25:18 +01:00
Armin Novak
9f3adf10f8
Fixed #5727 : use getmntent to read /proc/mounts
2019-11-18 15:25:18 +01:00
Armin Novak
57a57a917a
Fixed #5727 : Remove forbidden symbols from drive name
2019-11-18 14:31:46 +01:00
Bernhard Miklautz
6bf94972b1
Merge pull request #5715 from akallabeth/table_gen
...
Fixed #5713 : Use proper types to generate tables.c where possible.
2019-11-14 15:01:07 +01:00
Armin Novak
b3630d12e5
Fixed #5713 : Use proper types to generate tables.c where possible.
...
Use the correct type for function arguments of DVCPluginEntry type
and void* for type DeviceServiceEntry when generating tables.c
2019-11-14 11:42:50 +01:00
Bernhard Miklautz
f95e347e9c
fix [build]: don't export rdp2tcp as cmake target
...
rdp2tcp was wrongly exposed as cmake target. This could lead to errors
like the following when the FreeRDP2 cmake file was required:
CMake Error at ../lib/cmake/FreeRDP2/FreeRDPTargets.cmake:73 (message):
The imported target "rdp2tcp-client" references the file
".../lib/freerdp2/librdp2tcp-client.a"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
".../lib/cmake/FreeRDP2/FreeRDPTargets.cmake"
but not all the files it references.
2019-11-13 16:11:46 +01:00
Armin Novak
17c7144cb2
Fixed cleanup of remdesk in CHANNEL_EVENT_WRITE_COMPLETE
2019-11-13 11:42:27 +01:00
kubistika
511f89cd99
cliprdr: common: fix validation of file contents request pdu
2019-11-12 12:45:01 +01:00
Armin Novak
153639624b
Fixed NULL checks for strnlen calls, limit static channel name length.
...
As reported by @metametaclass in #5687 check the strings for NULL before
using strnlen. Also extend the same checks to static channel loading.
2019-11-07 10:53:55 +01:00
Armin Novak
72ca88f49c
Reformatted to new style
2019-11-07 10:53:54 +01:00
Armin Novak
2790866c12
Added CHANNEL_EVENT_WRITE_CANCELLED for remdesk channel
2019-11-06 13:01:43 +01:00
Armin Novak
75ed12f1f0
Fixed userdata pointer and CHANNEL_EVENT_WRITE_CANCELLED message.
2019-11-06 13:01:43 +01:00
Armin Novak
1bcb799560
Listen to CHANNEL_EVENT_WRITE_CANCELLED and emit if queue is cleared.
2019-11-06 13:01:43 +01:00
Armin Novak
1b78b59926
Fixed #4809 : Properly process CHANNEL_EVENT_WRITE_COMPLETE
2019-11-06 13:01:43 +01:00
Armin Novak
09d14a2462
Fixed VirtualChannelWriteEx error case leaks.
2019-11-06 13:01:43 +01:00
Martin Fleisz
bc39b32d20
Merge pull request #5685 from akallabeth/multi_instance_arg_parse
...
COMMAND_LINE_ARGUMENT structs contain parser results, use one per instance
2019-11-06 09:09:22 +01:00
Armin Novak
993b79f1bd
Removed strcpy use.
2019-10-29 11:58:43 +01:00
Armin Novak
f01e042211
Code cleanups (strlen, casts, size_t, ...)
2019-10-29 11:58:43 +01:00
Martin Fleisz
9b1626ee6e
Merge pull request #5673 from akallabeth/audin_format_leak_fix
...
Fixed memory leak when freeing up audin formats.
2019-10-28 15:19:30 +01:00
Armin Novak
0c87eaee4d
COMMAND_LINE_ARGUMENT structs contain parser results, use one per instance
...
Remove the old global structs as the parser modifies them. When using
multiple instances in the same process space this could break parsing.
2019-10-28 13:30:05 +01:00
Martin Fleisz
9e32899347
Merge pull request #5676 from akallabeth/hotplug_leak_fix
...
Hotplug leak fix
2019-10-28 13:06:36 +01:00
Armin Novak
da48b4eb8d
Made disp channel internal functions static.
2019-10-28 09:31:50 +01:00
Armin Novak
64f64cd035
devman_load_device_service device argument can be const.
2019-10-24 15:04:48 +02:00
kubistika
bf2e1a33d0
channels: rdpgfx: export API to create rdpgfx client
2019-10-24 12:19:31 +02:00
Armin Novak
30c21279cb
Fixed memory leak when freeing up audin formats.
2019-10-24 12:18:24 +02:00
AzureusNation
4955a0e5b8
Fixes hub was not found! error
...
Again as with auto usb detection strtol needs to use base 10 and force to use base 10 else the conversion does not work correctly.
2019-10-23 09:56:23 +02:00
AzureusNation
7d6a10aaff
Fixes Auto USB Redirection
...
Base 0 does not work when converting the string to long int. This ends up not showing the correct device id and sometimes the wrong bus id. By changing it to base 10 conversion instead of base 0 this fixes the issue of auto redirect usb devices.
2019-10-23 09:56:23 +02:00
asapelkin
82eadad4a4
Fix some static analizer warnings
2019-10-22 15:39:54 +02:00
kubistika
5cc5aa98ec
channels: cliprdr: client: fix leak in cliprdr_packet_send
2019-10-18 14:20:26 +02:00
kubistika
d75c5eec04
channels: cliprdr: improved common cliprdr api
2019-10-18 14:20:26 +02:00
kubistika
d2f73136d3
channels: cliprdr: reformat cliprdr_common.c
2019-10-18 14:20:26 +02:00
kubistika
345cc2a2f5
channels: cliprdr: get rid of duplicated server and client code
2019-10-18 14:20:26 +02:00
Armin Novak
59b4988f56
Fixed compilation warnings.
2019-10-16 14:54:05 +02:00
Martin Fleisz
9a33a82fb7
Merge pull request #5634 from akallabeth/error_code_update
...
Added missing error codes.
2019-10-03 08:45:44 +02:00
Armin Novak
0ffcba9350
Fix #5635 : Silence double WITH_CUPS definition.
2019-10-02 16:24:12 +02:00