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
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
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
Ilya Shipitsin
c78a2f0333
resolve issues identified by cppcheck
...
[channels/drive/client/drive_file.c:125]: (error) Memory leak: path_slash
[server/Windows/wf_dxgi.c:195]: (error) Invalid number of character '(' when these macros are defined: 'WITH_DXGI_1_2'.
2017-05-01 16:40:02 +05:00
David Fort
677c4e2105
Merge pull request #3919 from akallabeth/rdpdr_hotplug_fix
...
Fixed hotplug mount locations.
2017-04-27 14:11:51 +02:00
David PHAM-VAN
fd52a9ff52
Bugfix: wrong test regarding the first GetPrinter. This first call will always return FALSE because the goal of this call is to know the size needed.
2017-04-25 11:50:28 -07:00
ilammy
843ab1c234
winpr: fix field names of FILEDESCRIPTOR struct
...
The file name field is actually called cFileName on Windows. Use this
name in WinPR's struct definition as well for compatibility.
2017-04-21 14:13:52 +03:00
Armin Novak
73e89bffcc
Cleaned up includes.
2017-04-19 08:27:22 +02:00
Armin Novak
8fa6020b5f
Add legacy mount locations, limited max depth.
2017-04-18 09:13:35 +02:00
Armin Novak
c1872de641
Fixed WCHAR/CHAR conversion for drive path.
2017-04-13 16:20:01 +02:00
Armin Novak
b0599f8c54
Fixed hotplug mount locations.
2017-04-13 15:55:50 +02:00
Armin Novak
b0d3cfda4d
Added AVC444v2 client support.
2017-04-11 11:29:14 +02:00
Armin Novak
c0c4358cd0
Added function pointer casts.
2017-04-10 13:06:05 +02:00