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
Mariusz Zaborski
00374382d9
There is no reason to restrict nSize to 2 the hostname can be empty on
...
UNIX-like machines.
2018-04-06 21:07:51 +02:00
Armin Novak
3762e06714
Fixed RDP debug message invalid function.
2018-04-06 11:34:24 +02:00
Armin Novak
ef6a03128a
Added memory and thread sanitizer.
2018-04-06 08:27:52 +02:00
Armin Novak
2c98d85a34
Fixed function pointer typedef formatting.
2018-04-05 13:14:16 +02:00
Armin Novak
3f712cab70
Fixed formatting of changed files.
2018-04-05 13:14:16 +02:00
Armin Novak
2e801a8425
Free dsp context on close.
2018-04-05 13:14:16 +02:00
Armin Novak
1c127fab7d
Added AudioFormatFlags fallback.
2018-04-05 13:14:16 +02:00
Armin Novak
ec5dab973f
Initialized ALSA backend format.
2018-04-05 13:14:16 +02:00
Armin Novak
65a82e9cdc
Fix #4462 : Fallback typedef for AudioFormatID on MacOS < 10.10
2018-04-05 13:14:16 +02:00
Armin Novak
4d45bd6661
Added CMake option WITH_DSP_EXPERIMENTAL
...
Some encoder/decoder formats are currently not really working or
have not been thouroughly tested. To allow fearless hackers
fine tuning this flag is added to easily enable/disable these formats.
2018-04-05 13:14:16 +02:00
Armin Novak
f89c1857b9
Rewrite of sound and microphone channels
...
The sound and microphone redirection channels (and in part TSMF)
did not properly decouple encoding/decoding from the backends used
to play/record sound.
Encapsulating encoding/decoding in rewritten freerdp_dsp_* functions
with variable backends, simplifying alsa/oss/pulse/... audio backends.
2018-04-05 13:14:16 +02:00
Armin Novak
b5668e35b0
Fixed format string mismatch.
2018-04-05 10:49:24 +02:00
Armin Novak
72d574b31e
Fixed type mismatches with H264 backend buffer pointers.
2018-04-05 10:48:45 +02:00
Armin Novak
26d9957608
Fix pointer type mismatch struct sockaddr_storage* and struct sockaddr*
2018-04-05 10:47:50 +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