David Fort
dbc5584a68
Merge pull request #4052 from akallabeth/mac_fixes
...
Mac drive fixes
2017-09-12 23:16:39 +02:00
Martin Fleisz
e28ea4555f
channels: Don't send gfx capversion 10 if AVC420 is requested
2017-09-11 12:05:03 +02:00
Armin Novak
8a5c78bde6
Unified dynamic channel cleanup code.
2017-08-31 09:55:59 +02:00
David Fort
5115ecd948
Merge pull request #4063 from akallabeth/auth_fixes
...
Fixed leaks, certificate comparison and channel context cleanup
2017-08-30 10:19:12 +02:00
Bernhard Miklautz
6a83a1e7fa
Merge pull request #4050 from akallabeth/rdpefs_server_client_name_fix
...
Mask out ignored bits from UnicodeFlag.
2017-08-29 10:35:45 +02:00
Bernhard Miklautz
52fbfb7b12
fix clang warnings, directly include wtypes.h ( #4097 )
...
* build: clang use -Wno-unused-command-line-argument
With clang 5.0 builds are quite noisy otherwise.
* Directly include wtypes.h
Directly include winpr/wtypes.h where _fseeki64 or _ftelli64 is used.
* fix build warnings with clang 5
clang version: 5.0.0-svn310678-1~exp1 (branches/release_50)
Warning: parentheses-equality
* fix build warnings with clang 5
clang version: 5.0.0-svn310678-1~exp1 (branches/release_50)
Warning: tautological-compare
* fix build warnings with clang 5
clang version: 5.0.0-svn310678-1~exp1 (branches/release_50)
Warning:
incompatible pointer types passing 'size_t *' (aka 'unsigned
long *') to parameter of type 'UINT32 *' (aka 'unsigned int *')
[-Wincompatible-pointer-types]
2017-08-29 09:09:38 +02:00
Armin Novak
32de218c3f
Fixed file seek.
2017-08-08 10:52:11 +02:00
Mike Gabriel
c045bddf3f
Fix typos in some error messages
2017-08-03 08:38:05 +02:00
Armin Novak
523a881663
Channels with a context must free it themselves.
2017-07-28 08:39:51 +02:00
Armin Novak
9318707291
Added return check for ConvertFromUnicode.
2017-07-24 08:53:21 +02:00
Armin Novak
3586f8502c
Fixed missing unicode conversion for mac drive redirection.
2017-07-20 12:35:43 +02:00
Armin Novak
478ca97a16
Fixed resource cleanup.
2017-07-20 09:35:41 +02:00
Armin Novak
8b9e3fa51e
Fixed use of reserved keywords for include guards.
2017-07-20 09:35:41 +02:00
Armin Novak
0490aeb018
Fixed clang malloc integer overflow warnings.
2017-07-20 09:29:48 +02:00
dodo040
03723c2738
fix wrong declaration
2017-07-19 13:16:08 +02:00
dodo040
722e927c64
redirect specific smartcard readers
2017-07-19 13:16:08 +02:00
Armin Novak
0e6a44faf3
Mask out ignored bits from UnicodeFlag.
2017-07-19 09:41:58 +02:00
Armin Novak
5764d5a78a
Disable GFX H264 if no backend compiled in.
2017-07-17 09:25:21 +02:00
Norbert Federa
36b8f54c5e
Fixed a few compiler warnings
2017-07-10 17:52:05 +02:00
Andre Gemuend
512d8a8dec
Fix compilation on RHEL 6.x by macro-guarding two functions that were
...
added in gstreamer 0.10.31 (RHEL 6.x being on 0.10.29).
2017-06-27 17:12:23 +02:00
weizhenwei
bd94dcc6d5
remove duplicate code when freeing drive
2017-06-23 09:28:42 +08:00
weizhenwei
3b52a60d31
remove useless NULL pointer check before free
2017-06-23 09:21:16 +08:00
weizhenwei
61b24bf0b3
add NULL pointer check and set freed pointers to NULL afterward
2017-06-22 17:53:51 +08:00
weizhenwei
fa1c65b656
refactor to remove duplicate code and replace free+malloc with realloc
2017-06-22 10:21:20 +08:00
weizhenwei
2d56e22e9e
refactor on redundant code copy
2017-06-21 22:07:07 +08:00
weizhenwei
bcd8ddef59
fix compile error on win64.vs2010 platform
2017-06-21 15:43:41 +08:00
weizhenwei
46b841be13
fix memory leak on rail_virtual_channel_event_data_received() -> StreamNew()
2017-06-21 15:26:28 +08:00
weizhenwei
a2ecf403b2
fix memory leak at drive_register_drive_path() and drive_free()
2017-06-21 15:26:28 +08:00
weizhenwei
7e5b766f78
fix memory leak at rail_client_execute()
2017-06-21 15:26:28 +08:00
weizhenwei
ccdaf15a75
fix memroy leak on rail_recv_exec_result_order() execResult
2017-06-21 15:26:27 +08:00
Armin Novak
98736c9d4d
Fix #3995 : File size information
2017-06-09 13:02:50 +02:00
David Fort
5ef9232703
Merge pull request #3905 from ilammy/x11-cliprdr/file-clipping
...
Local-to-remote file clipping for xfreerdp
2017-06-07 21:20:34 +02:00
ilammy
75fa3ad2a0
channels/cliprdr: avoid possible integer overflow
...
If the server sends us garbage (or the client provides it) then it is
possible for the multiplication to overflow (as it is performed on
unsigned 32-bit values) which will result in a false positive failure of
the sanity check. Avoid it by rearranging arithmetics a little.
Keep the multiplication in the error message because we are interested
in the number of bytes in the stream and how it compares to the number
we have expected based on the presumed file count.
2017-06-01 16:05:07 +03:00
David Fort
3470c4d5f8
Merge pull request #3969 from chipitsine/cppcheck
...
resolve issue found by cppcheck
2017-05-31 16:48:12 +02:00
Ilya Shipitsin
06edf5f7c5
resolve an issue found by cppcheck:
...
[channels/tsmf/client/tsmf_main.c:89] -> [channels/tsmf/client/tsmf_main.c:95]: (warning) Either the condition '!callback' is redundant or there is possible null pointer dereference: callback.
2017-05-31 14:32:59 +05:00
joy.you
921f0b7480
fixed issue:#3974
...
ConvertToUnicode failed
2017-05-27 16:10:41 +08:00
David Fort
48163a27db
Merge pull request #3906 from akallabeth/addin_cast_fix
...
Addin cast fix
2017-05-22 11:12:05 +02:00
David Fort
b92a789dfd
Merge pull request #3963 from akallabeth/qoe_ack
...
Added client RDPGFX_QOE_FRAME_ACKNOWLEDGE_PDU
2017-05-22 11:10:03 +02:00
Armin Novak
f414522b7a
Added setting for QoeAck.
2017-05-18 14:07:09 +02:00
Armin Novak
b6e5ec5039
Added client RDPGFX_QOE_FRAME_ACKNOWLEDGE_PDU
2017-05-18 14:07:09 +02:00
Armin Novak
ed2c675a83
Fixed path length check.
2017-05-18 09:43:02 +02:00
Armin Novak
6b960a4319
Fix #3962 : Remove trailing slashes from path.
2017-05-17 16:43:16 +02:00
Armin Novak
0a309fcbec
Use unicode constants for WCHAR
2017-05-17 16:17:16 +02:00
Armin Novak
2a92cc9631
Use a preallocated logger instance for GFX
...
The static logger functions of WLog have quite a heavy performance
penalty. Use a pointer to an allocated logger to speed things up.
2017-05-15 17:24:47 +02:00
David Fort
17a4e95a5b
Drop some annoying warning
...
Probably that some unused functions should be removed, but at least it makes
it compile with no warnings.
2017-05-12 13:54:16 +02:00
Adrian A
5beb181dec
Fix handle leaks in encomsp and remdesk server
...
Ensure proper thread cleanup when these channel servers are stopped.
2017-05-11 13:21:47 -07:00
Adrian A
fd39002288
Remove library prefix override for rdpei-server
...
This library was missed in commit
059374457d
, so it was the only one that
stilll had a lib prefix
2017-05-10 09:56:37 -07:00
Ilya Shipitsin
07c2345879
resolve an issue identified by cppcheck:
...
[channels/urbdrc/client/libusb/libusb_udevice.c:1666] -> [channels/urbdrc/client/libusb/libusb_udevice.c:1661]: (warning) Either the condition 'request' is redundant or there is possible null pointer dereference: request.
2017-05-06 00:05:59 +05:00
Martin Fleisz
8569102c3a
Merge pull request #3932 from chipitsine/cppcheck
...
resolve issues identified by cppcheck
2017-05-02 16:10:34 +02:00
David Fort
40baadb471
Merge pull request #3911 from akallabeth/avc444_v2
...
Added AVC444v2 client support.
2017-05-02 16:02:21 +02:00