Mariusz Zaborski
fe37fede50
Fix variable passsed to HashCallback with MIC.
...
The value in the context is not set yet and we need one from
authentication message.
2018-04-06 21:18:20 +02:00
MartinHaimberger
a9ecd6a6cc
Merge pull request #4535 from akallabeth/warning_fixes
...
Warning fixes
2018-04-05 10:20:43 +02:00
MartinHaimberger
0af63d4c6f
Merge pull request #4481 from akallabeth/fastpath_fix
...
Fastpath uncompressed length issue
2018-04-05 10:17:51 +02:00
akallabeth
7f6103e1af
Merge pull request #4538 from mfleisz/win_ipv6_fix
...
core: Fix IPv6 handling on Windows
2018-04-05 07:35:40 +02:00
Martin Fleisz
ff8b2c1b0e
core: Fix IPv6 handling on Windows
...
On Windows the sockaddr struct is smaller than sockaddr_in6.
This causes getsockname to fail because the buffer is too small.
The new code uses sockaddr_storage which should be large enough to
hold any supported protocol address structure.
See: http://pubs.opengroup.org/onlinepubs/009696699/basedefs/sys/socket.h.html
2018-04-04 17:19:18 +02:00
Armin Novak
e47d7eb968
Simplified fastpath buffer handling.
2018-04-04 13:24:43 +02:00
Armin Novak
f840150a54
Fixed missing return value checks.
2018-04-04 13:24:32 +02:00
MartinHaimberger
55973288f2
Merge pull request #4514 from akallabeth/com_lpt_fix
...
Com lpt fix
2018-04-04 12:52:39 +02:00
Armin Novak
c70bf8329f
Fixed XPixmap checks.
2018-04-04 10:46:14 +02:00
Armin Novak
065a924496
Fixed format string types.
2018-04-04 10:45:57 +02:00
Armin Novak
3f1ef0efc6
Removed unnecessary range check.
2018-04-04 10:45:32 +02:00
Armin Novak
2bda3a30b0
Fixed integer to float type cast.
2018-04-04 10:45:07 +02:00
Armin Novak
842707b106
Fixed printf format string.
2018-04-04 10:44:51 +02:00
Armin Novak
b0fe199060
Fixed intrinsic integer overflow.
...
Adding 128 in 8bit is not possible due to range [-128,127].
Instead subtract -128, that should eliminate the overflow.
2018-04-04 10:43:31 +02:00
akallabeth
b37a98182d
Merge pull request #4457 from RangeeGmbH/fix_custom_sizes
...
Fix /size: /w: /h: with /monitors: (Fix custom sizes)
2018-04-04 10:35:47 +02:00
MartinHaimberger
1a8234c74d
Merge pull request #4472 from akallabeth/win_mouse_button
...
[WIN] Added additional mouse mappings.
2018-04-04 10:12:04 +02:00
MartinHaimberger
c73c54a626
Merge pull request #4477 from akallabeth/command_line_fix
...
Detect command line flags in case RDP or MSINCIDENT files are used.
2018-04-04 10:06:07 +02:00
MartinHaimberger
08271709e4
Merge pull request #4416 from akallabeth/audin_fix
...
Audin fix
2018-04-04 10:04:58 +02:00
Martin Fleisz
edce38613a
Merge pull request #4529 from akallabeth/wlog_cleanup_fix
...
Fix #4524 : Initialize with cleanup handler
2018-04-04 09:32:46 +02:00
akallabeth
807fe0413b
Merge pull request #4519 from mfleisz/cssp_nonce_fix
...
cssp: Fix handling of nonce
2018-04-03 15:52:35 +02:00
akallabeth
d8b09fedcb
Merge pull request #4532 from RangeeGmbH/cmdline_spelling
...
Fix spelling of network commandline values
2018-04-03 15:04:32 +02:00
Kai Harms
2dffc3ef96
Fix spelling of network commandline values
2018-04-03 12:12:58 +00:00
Armin Novak
b260937ca6
Use __attribute__((destructor)) on non windows systems.
...
atexit in shared libraries is not universally supported.
2018-04-03 14:04:22 +02:00
Armin Novak
e0d112d548
Removed all calls to WLog_Init and WLog_Uninit
...
Since the calls are no longer required remove their usage.
2018-04-03 13:06:41 +02:00
Armin Novak
d249335708
Removed winpr_exit
...
As the cleanup functions are called by atexit a dedicated
cleanup call is no longer required.
2018-04-03 12:56:33 +02:00
akallabeth
a51e5a9084
Merge pull request #4527 from jkaivo/master
...
PCB support
2018-04-03 10:22:08 +02:00
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
Jakob Kaivo
3a1d70d9ba
add support for the "pcb" block in .rdp files provided by Project Honolulu in the VM interface
2018-03-31 22:15:39 -04: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
Martin Fleisz
5c59b5f2b8
cssp: Fix handling of nonce
2018-03-29 21:42:14 +02:00
Kai Harms
222bf9245e
Fix /size: /w: /h: with /monitor: (Fix custom sizes)
...
Fix weird rectangle by removing checks
2018-03-29 07:12:53 +00:00
Armin Novak
0c49152a3d
Fixed #4412 : memory corruption in audin channel.
2018-03-26 16:29:50 +02:00
Armin Novak
c53d72211a
Audin channel use dynamic logger where possible.
2018-03-26 14:40:23 +02: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
Armin Novak
a266147ddf
Added debug message.
2018-03-23 11:21:13 +01:00
Armin Novak
1316b828c9
Removed reserved COM and LPT check.
2018-03-23 10:44:32 +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