Armin Novak
e1b53a282f
Fix #4524 : Initialize with cleanup handler
...
Use singleton initializer and register cleanup handler for logger.
2018-04-03 10:18:59 +02:00
Bernhard Miklautz
e03333477a
Merge pull request #4522 from UndefBehavior/fix_SCardStatusW
...
Fix SCardStatusW function
2018-03-30 17:20:50 +02:00
UndefBehavior
08e7217c1b
Fix SCardStatusW function
...
Terminating null character was inserted in the middle of readerNames instead of
last position in the unicode version of SCardStatus function.
This commit fix it.
2018-03-30 07:32:23 -07:00
Bernhard Miklautz
a42f6d6aa1
Merge pull request #4513 from chipitsine/travis-new
...
initial travis-ci support
2018-03-26 14:31:14 +02:00
akallabeth
5b52ad9128
Merge pull request #4512 from chipitsine/master
...
resolve several possible null pointer dereference
2018-03-26 13:09:11 +02:00
Ilya Shipitsin
1d73d2d303
initial travis-ci support
2018-03-25 21:38:46 +05:00
Ilya Shipitsin
14c15c680d
resolve several possible null pointer dereference
...
issue detected by cppcheck
[channels/drive/client/drive_main.c:454] -> [channels/drive/client/drive_main.c:443]: (warning) Either the condition '!irp' is redundant or there is possible null pointer dereference: irp.
[client/X11/xf_window.c:582] -> [client/X11/xf_window.c:580]: (warning) Either the condition '!xfc' is redundant or there is possible null pointer dereference: xfc.
[winpr/libwinpr/path/test/TestPathShell.c:40] -> [winpr/libwinpr/path/test/TestPathShell.c:43]: (warning) Either the condition '!path' is redundant or there is possible null pointer dereference: path.
[winpr/libwinpr/path/test/TestPathShell.c:49] -> [winpr/libwinpr/path/test/TestPathShell.c:52]: (warning) Either the condition '!path' is redundant or there is possible null pointer dereference: path.
2018-03-24 17:46:39 +05:00
akallabeth
68c4bab68f
Merge pull request #4510 from mfleisz/cssp_version_fix
...
cssp: Separate client/server version handling (#4502 )
2018-03-23 14:12:19 +01:00
Martin Fleisz
eb1f693fc4
cssp: Separate client/server version handling ( #4502 )
2018-03-23 12:12:08 +01:00
Bernhard Miklautz
1adbc389a6
Merge pull request #4508 from h3xx/fix-ccache-support
...
Fix ccache support
2018-03-22 17:03:52 +01:00
Dan Church
3af9c4d35c
Fix ccache support
...
Setting the compiler launcher to "ccache" is the recommended way of
enabling ccache for the build.
If cmake is run with it defined, it causes an error when ccache tries to
run:
ccache: error: Recursive invocation (the name of the ccache binary must be "ccache")
This was because the compiler was getting invoked as
"ccache ccache [COMPILER]"
2018-03-21 16:30:34 -05:00
David Fort
15fb917267
Merge pull request #4469 from akallabeth/win_server_fix
...
Fixed windows shadow server update copy.
2018-03-21 14:19:51 +01:00
akallabeth
f11ff9a639
Merge pull request #4504 from mfleisz/cssp_warnings
...
cssp: Fix warnings (#4503 )
2018-03-21 13:36:46 +01:00
Martin Fleisz
e9ba4b58ec
cssp: Fix warnings ( #4503 )
2018-03-21 12:57:58 +01:00
akallabeth
31a687a24c
Merge pull request #4505 from bmiklautz/nightlies_bionic
...
pkg freerdp-nightly: fix build on bionic
2018-03-21 12:34:46 +01:00
Bernhard Miklautz
8b73612fe4
pkg freerdp-nightly: fix build on bionic
2018-03-21 12:00:01 +01:00
akallabeth
de83f4df21
Merge pull request #4499 from mfleisz/cssp_v6
...
cssp: Add support for protocol version 6
2018-03-20 11:02:40 +01:00
Martin Fleisz
8df96364f2
cssp: Add support for protocol version 6
2018-03-20 10:37:38 +01:00
David Fort
103686eb12
Merge pull request #4497 from akallabeth/kwin_multimon
...
Fix #2707 : Set fullscreen first
2018-03-19 19:12:02 +01:00
Armin Novak
338e74a6fb
Fix #2707 : Set fullscreen first
...
Due to kwin bug https://bugs.kde.org/show_bug.cgi?id=391960
multimonitor fullscreen is not applied correctly with the
previous approach.
2018-03-19 11:54:06 +01:00
David Fort
980bc9cef0
Merge pull request #4495 from akallabeth/header_fix
...
Fixed #4493 : duplicate typedef.
2018-03-17 17:07:48 +01:00
Armin Novak
87ebdf0052
Fixed #4493 : duplicate typedef.
2018-03-17 15:25:41 +01:00
akallabeth
f8baeb7247
Merge pull request #4487 from bmiklautz/KB4088776
...
fix nla: don't use server version
2018-03-14 14:34:01 +01:00
Bernhard Miklautz
e7ae3f6bab
fix nla: don't use server version
...
FreeRDP currently only supports CredSSP protocol version 3. However the
current implementation always sent back the version received by the
server indicating that this version was supported.
With recent windows updates applied the protocol changed and this approach
doesn't work anymore (see
https://msdn.microsoft.com/en-us/library/mt752485.aspx for protocol changes).
With this fix FreeRDP always sends version 3 as supported version.
Credit goes to @mfleisz.
Fixes #4449
2018-03-14 14:04:56 +01:00
Martin Fleisz
8cd156afda
Merge pull request #4473 from akallabeth/mac_timer
...
Added WaitableTimer implementation for mac OS.
2018-03-12 16:11:48 +01:00
Armin Novak
9bd13c25c9
Added WaitableTimer implementation for mac OS.
2018-03-12 13:39:21 +01:00
Armin Novak
1c72127c6b
Do not clear invalid region if no client connected.
2018-03-07 15:37:20 +01:00
Armin Novak
2ad5b3510d
Fixed windows shadow server update copy.
2018-03-07 15:37:20 +01:00
Martin Fleisz
14997f96e3
Merge pull request #4471 from akallabeth/thread_function_fix
...
Thread and Threadpool work function fix
2018-03-07 15:13:22 +01:00
Armin Novak
44eebbb6e0
Fixed compiler warnings.
2018-03-07 14:47:06 +01:00
Armin Novak
66cc038c93
Fixed threadpool work function return and arguments.
2018-03-07 14:36:55 +01:00
Armin Novak
2517755d25
Fixed thread function return and parameters.
2018-03-07 14:36:55 +01:00
akallabeth
dd538ccd4b
Merge pull request #4470 from mfleisz/misc_fixes
...
Various fixes after running VS 2017 code analysis
2018-03-07 14:05:22 +01:00
akallabeth
ce61ec1d39
Merge pull request #4464 from perkerk/misc-windows-client
...
Misc changes for Windows client
2018-03-07 13:47:23 +01:00
Eric Brown
e3adeb1059
Remove NULL check before _aligned_free call
2018-03-07 04:40:18 -06:00
Eric Brown
2e0253ae3a
Clean up mf_uninit
2018-03-07 04:30:15 -06:00
Martin Fleisz
91ee4c2e9c
Merge pull request #4454 from akallabeth/nightly
...
Use a custom command to generate helper tool
2018-03-07 10:17:17 +01:00
Martin Fleisz
2396e37d8a
rdpei: Fix possible NULL ptr access
2018-03-06 16:35:56 +01:00
Martin Fleisz
9b4de7903f
drive: Fix possible NULL ptr access
2018-03-06 16:34:36 +01:00
Martin Fleisz
900aa94796
debug: Fix broken format specifiers
2018-03-06 16:32:36 +01:00
Martin Fleisz
ffa5fb07c2
drdynvc: Fix possible NULL pointer accesses
2018-03-06 16:03:13 +01:00
Martin Fleisz
0599a3cdbf
codec: Another realloc fix
2018-03-06 16:02:28 +01:00
Martin Fleisz
811406382d
core: Fix possible out-of-bounds read
2018-03-06 15:52:34 +01:00
Martin Fleisz
07f05c5cb3
nla: Add NULL pointer check
2018-03-06 15:39:03 +01:00
Martin Fleisz
ba5ad2e2f4
codec: Prevent invalid mem access on realloc failure
2018-03-06 15:34:55 +01:00
Martin Fleisz
21eeea2cee
codec: Fix broken reallocs
2018-03-06 15:32:04 +01:00
Bernhard Miklautz
01388c17ea
Merge pull request #4468 from akallabeth/transport_fix_handle
...
Fix invalid handle offset.
2018-03-06 15:08:57 +01:00
Armin Novak
a419677e8f
Fix invalid handle offset.
2018-03-06 13:58:40 +01:00
Eric Brown
930ccb6b7b
Fix memory leak of Decompress buffer in client wf_Bitmap_Free
2018-03-05 13:20:41 -06:00
Eric Brown
d8151c03df
Remove unnecessary WM_SETCURSOR handling from wf_event_proc
2018-03-05 12:32:42 -06:00