Armin Novak
b3179174ec
Fixed function pointer const correctness.
2020-03-04 14:44:03 +01:00
Armin Novak
9398e8e647
Fixed freerdp_channel_process length checks
...
Fragmented data was not handled properly.
2020-03-04 14:44:03 +01:00
Armin Novak
4ad158fac6
Added freerdp_channels_data argument checks.
2020-03-04 14:44:03 +01:00
Norbert Federa
f65c79ec5e
Merge pull request #5942 from akallabeth/gfx_cache_evict
...
Fix GFX cache eviction, use 1 based indexing.
2020-03-04 11:41:01 +01:00
Armin Novak
35d7e896ae
Fix GFX cache eviction, use 1 based indexing.
2020-03-04 11:01:23 +01:00
Armin Novak
032574cc8f
X11 XEvent handling use const arguments
2020-03-04 10:38:41 +01:00
Armin Novak
f32a46370c
X11 XEvent disp refactored to use const arguments
2020-03-04 10:38:41 +01:00
Armin Novak
b48967d559
X11 XEvent refactored input
...
* Use proper types and const arguments where appropriate
2020-03-04 10:38:41 +01:00
Armin Novak
2b30c03fcf
X11 XEvent refactored floatbar
...
* Use const event pointers of correct type where appropriate
2020-03-04 10:38:41 +01:00
Armin Novak
ba5400f110
X11 XEvent clipboard processing cleanup
...
* Use const X*Event where possible
* Helper functions use the actual type as argument
2020-03-04 10:38:41 +01:00
Armin Novak
db80f97d50
X11: Lock display during event processing
...
* Added a X11 lock debug messages for incorrect locking.
* Lock X11 display during XEvent processing
2020-03-04 10:38:41 +01:00
Martin Fleisz
a328d428b6
Merge pull request #5939 from akallabeth/scaling_patch
...
Reverted minimum scaling diff
2020-03-04 09:36:49 +01:00
Martin Fleisz
6942669f32
Merge pull request #5941 from akallabeth/clang_fixes
...
Fixed clang scanbuild warnings.
2020-03-04 09:34:51 +01:00
Martin Fleisz
174832150e
Merge pull request #5932 from nfedera/fix_gfx_bitmapcache_indexing
...
Fix RDPEGFX bitmap cache indexing
2020-03-04 09:31:52 +01:00
Armin Novak
1fd51d9183
Fixed clang scanbuild warnings.
2020-03-04 09:17:35 +01:00
David Fort
f0b2c2d1c8
Merge pull request #5940 from akallabeth/pretty_print_signals
...
Improve signal handler printout.
2020-03-04 08:45:47 +01:00
Armin Novak
3de666a80e
Improve signal handler printout.
2020-03-04 08:22:56 +01:00
Norbert Federa
17e0d25104
dynvc/client: fix and improve channel closing code
...
- fixed and consolitate the duplicated code for sending the
CLOSE_REQUEST_PDU to the server into dvcman_close_channel
- call dvcman_close_channel if a dynamic channel plugin fails
to process the received channel data
- rdpegfx: don't try to remove a non-existing cache entry,
return an error instead which now will close the channel, as
expected by Microsoft's windows protocols test suite
2020-03-04 08:03:56 +01:00
Armin Novak
38d5e14e9f
Reverted minimum scaling diff
...
Revert to the diff value from @volth
2020-03-04 08:02:25 +01:00
Norbert Federa
20ff1a5b49
Merge pull request #5935 from akallabeth/shadow_server_mstsc_fix
...
Fixed shadow server with mstsc as client.
2020-03-03 13:26:16 +01:00
Armin Novak
bda2731035
Fixed reading suppress output pdu
...
Optional rectangle must be read from PDU
2020-03-03 13:10:24 +01:00
Armin Novak
d7da4b7e00
Removed function pointer casts for shadow.
2020-03-03 13:02:22 +01:00
Armin Novak
1b91c77350
Fixed shadow server with mstsc as client.
2020-03-03 12:27:19 +01:00
Norbert Federa
822ed3d7ff
Merge pull request #5934 from akallabeth/urbdrc_close_fix
...
URBDRC: Only mark closed if control is closed.
2020-03-03 11:27:06 +01:00
Armin Novak
34498d4064
URBDRC: Only mark closed if control is closed.
2020-03-03 11:15:34 +01:00
David Fort
4448454566
Merge pull request #5933 from akallabeth/autodetect_consume_stream
...
Consume stream data in autoconnect
2020-03-03 09:18:27 +01:00
Armin Novak
0d1c440cf5
Consume stream data in autoconnect
...
TPKT checks failed due to payload data not consumed in autodetect.
2020-03-02 13:54:44 +01:00
xie.kunming
979798f51c
wf_cliprdr.c forget OleUninitialize if create_cliprdr_window failed
2020-03-02 11:45:45 +01:00
Armin Novak
be714d2a13
Fixed tpkt header length checks.
...
TPKT header length and consumption of data was not consistently
checked. This adds checks after each packet processed and fixes
any inconsistencies found.
2020-03-02 11:40:35 +01:00
Armin Novak
039bb88fef
Fixed warnings in capabilities.c
2020-03-02 11:40:35 +01:00
Armin Novak
171e73d797
Fixed compiler warnings in info.c
2020-03-02 11:40:35 +01:00
Armin Novak
318cb3dd47
Added tpkt header length plausibility checks.
2020-03-02 11:40:35 +01:00
Armin Novak
66352741f2
Added fallbacks for primitives auto detection.
...
When using primitives auto detection it was possible that no
primitive implementation was chosen at all.
This now skips broken implementations and falls back to generic
primitives if no other implementation does work.
2020-03-02 11:40:35 +01:00
Armin Novak
ce387ba04f
Check length of TPKT header for plausibility.
2020-03-02 11:40:35 +01:00
Armin Novak
30990089b8
Implemented del_device by vid/pid
2020-03-02 11:40:05 +01:00
Armin Novak
1b1ab01e43
Cleaned up USB redirection
...
* Removed obsolete searchman
* Unified device add and virtual channel add
* Unified device id generation
2020-03-02 11:40:05 +01:00
Armin Novak
acb77391a2
Fix #5910 : USB hotplug added device wrong
...
When a USB device was added via hotplug add_device was called
with wrong arguments.
2020-03-02 11:40:05 +01:00
Norbert Federa
39e12990e8
rdpegfx: rename MaxCacheSlot to MaxCacheSlots
...
Although Microsoft uses 1-based numbering on the wire for indexing the
GFX bitmap cache entries, the code in FreeRDP uses 0-based numbering and
therefore the name MaxCacheSlots is less confusing.
2020-03-02 09:55:25 +01:00
Norbert Federa
f4d5ec776f
rdpegfx: use 1-based indexing for bitmap cache
...
Weird but Microsoft uses 1-based indexing in the RDPGFX bitmap
cache PDU's.
This does not seem to be documented but can be deducted from the
RDP client test code in Microsoft's "Windows Protocol Test Suites"
GitHub repository and the observation that mstsc aborts with a
protocol error if the cacheSlot index value 0 is used in e.g. a
GFX surface to cache PDU.
2020-03-02 09:55:25 +01:00
David Fort
efde89607b
Merge pull request #5931 from akallabeth/rpm_nightly_fix
...
Disable GSS/KRB5 support
2020-03-02 09:09:15 +01:00
Armin Novak
6c0a54b1f6
Disable GSS/KRB5 support
...
Kerberos support in FreeRDP is not working, deactivate it. Fixes #5930
2020-03-02 08:43:59 +01:00
Martin Fleisz
3318d1574f
Fix possible NULL pointer access crash
2020-02-28 12:53:39 +01:00
Armin Novak
4eb4f58fbb
Updated CMake channel detection
...
* Now both, dynamic and static channel entries can be defined by
a single channel.
* Added better logging to distinguish between static and dynamic
channel messages.
2020-02-28 12:53:39 +01:00
Martin Fleisz
da354feed0
Add dynamic channel part for rdpsnd channel
2020-02-28 12:53:39 +01:00
Martin Fleisz
347055492e
Merge pull request #5920 from akallabeth/rdpsnd_crash_fix
...
Fix #5885 : Check for division by zero
2020-02-28 11:50:40 +01:00
Martin Fleisz
4d7881202f
Merge pull request #5922 from akallabeth/channel_drdynvc_fi
...
Replaced CMake list find with loop to fix build issues.
2020-02-28 09:55:29 +01:00
Mark Karpeles
bf94b03f24
fix FindFFmpeg.cmake: locating avcodec not using pkgconfig variable
2020-02-28 09:49:28 +01:00
Armin Novak
5e4603d0b7
Fix #5885 : Check for division by zero
2020-02-27 13:56:53 +01:00
Armin Novak
95bf87a063
Replaced CMake list find with loop to fix build issues.
2020-02-27 11:18:54 +01:00
Bernhard Miklautz
dda5d4b128
Merge pull request #5921 from akallabeth/nightly_optimise
...
Revert to RelWithDebInfo for debian.
2020-02-27 10:29:29 +01:00