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
David Fort
dc44f9ed5a
Merge pull request #5722 from akallabeth/primitives_const_source
...
Modified primitives function pointer to take const pointer to const data
2019-11-14 11:30:40 +01:00
Armin Novak
6afa413669
Modified primitives function pointer to take const pointer to const data
2019-11-14 10:46:24 +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
Martin Fleisz
3a1d72db23
Merge pull request #5718 from akallabeth/remdesk_fix
...
Fixed cleanup of remdesk in CHANNEL_EVENT_WRITE_COMPLETE
2019-11-13 15:32:42 +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
kubistika
09648834a0
server: proxy: fix sync issue in gfx opening
2019-11-12 12:45:01 +01:00
Martin Fleisz
8cf19fd94e
Merge pull request #5711 from akallabeth/diff
...
Fixed broken strnlen checks
2019-11-11 13:23:00 +01:00
Armin Novak
8665ac7e81
Fixed broken strnlen checks
2019-11-11 12:12:51 +01:00
Bernhard Miklautz
dabfb104c6
Merge pull request #5709 from akallabeth/diff
...
Fixed broken length calculation in rdp_write_extended_info_packet
2019-11-11 09:52:46 +01:00
Armin Novak
9e7c24668b
Fixed broken length calculation in rdp_write_extended_info_packet
2019-11-11 09:30:16 +01:00
Bernhard Miklautz
02614cce49
Merge pull request #5703 from akallabeth/reformat
...
Reformatted to new style
2019-11-07 12:13:19 +01:00
Armin Novak
fc4bb71205
Added cast and checks for info packet.
2019-11-07 10:55:27 +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
ba71de6230
Updated format file.
2019-11-07 10:51:42 +01:00
David Fort
d32e7f12e2
Merge pull request #5704 from XiaopengZHOU/cursor-xor-padding
...
Fix padding of encoded scan-line for XOR mask of pointer.
2019-11-07 10:48:56 +01:00
Raphaël ZHOU
31962b2fa6
Fix padding of encoded scan-line for XOR mask of pointer.
2019-11-07 10:12:22 +01:00
Martin Fleisz
48d9e0ac51
Merge pull request #5687 from akallabeth/channel_write_leaks
...
Fixed VirtualChannelWriteEx error case leaks.
2019-11-06 13:52:33 +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
Martin Fleisz
5b6663fe3a
Merge pull request #5689 from akallabeth/cleanups
...
Cleanups
2019-11-05 15:28:02 +01:00
Armin Novak
d7877186d6
Fixed strnlen issues.
2019-11-05 14:55:33 +01:00
Bernhard Miklautz
53f26f79b0
Merge pull request #5690 from akallabeth/winpr_ini_cleanup
...
Cleaned up ini.h and added error checks.
2019-11-05 14:19:07 +01:00
Armin Novak
b7a12474dc
Removed invalid use of strnlen
2019-11-05 11:30:26 +01:00
Armin Novak
b15e967c92
Use BOOL return for IniFile_Open_File and IniFile_Load_File
2019-11-05 10:31:09 +01:00
Martin Fleisz
5439c97953
Merge pull request #5553 from akallabeth/win_console_fix
...
Reattach to cmd if wfreerdp was started from one.
2019-11-05 09:35:45 +01:00
Armin Novak
a5403448b6
Fixed review remarks.
2019-11-04 11:18:53 +01:00
Bernhard Miklautz
f89d1d42ae
Merge pull request #5699 from akallabeth/proxy_link_fix
...
Fix #5693 : Add missing link to gfx client channel library
2019-11-04 09:42:27 +01:00
David Fort
824d09169e
rdp: fix byte and packet counters
...
Best to count bytes directly at the transport level.
2019-11-04 07:39:35 +01:00
David Fort
59d5f888a3
fix typo
2019-11-04 07:39:35 +01:00
akallabeth
acad36465d
Fix #5693 : Add missing link to gfx client channel library
2019-11-02 09:57:03 +01:00
David Fort
cbcf0c6e64
Merge pull request #5692 from kubistika/proxy/when_possible_do_nla_fallback
...
server: proxy: client: always do NLA fallback
2019-10-31 14:17:50 +01:00
kubistika
59ba044ccd
server: proxy: client: always do NLA fallback
2019-10-31 11:26:13 +02:00
Armin Novak
b06efc78ec
Fixed warnings from TestEnvironmentGetEnvironmentStrings
2019-10-29 12:58:06 +01:00
Armin Novak
1fb716d864
Cleaned up TestCryptoHash
2019-10-29 12:58:06 +01:00
Armin Novak
142db87970
Removed strlen from GetComputerNameExA
2019-10-29 12:58:06 +01:00
Armin Novak
68f519ed6c
Fixed length checks for GetComputerNameA
2019-10-29 12:58:06 +01:00
Armin Novak
66ad508b45
Removed strlen use in wlog (and speed up check)
2019-10-29 12:58:06 +01:00
Armin Novak
27df243a33
Fixed int/size_t use for channel add functions.
2019-10-29 12:58:06 +01:00
Armin Novak
cda3d081e3
Fixed tmpnam warning.
2019-10-29 12:58:05 +01:00
Armin Novak
993b79f1bd
Removed strcpy use.
2019-10-29 11:58:43 +01:00