Commit Graph

6220 Commits

Author SHA1 Message Date
David Fort
88ce44ed2e
Merge pull request #10724 from akallabeth/scard-status-string-terminate
[utils,smartcard] ensure '\0' termination for NDR
2024-10-10 22:21:38 +02:00
akallabeth
a12a2dc6af
[gdi,gfx] remove broken overlap check 2024-10-10 16:40:16 +02:00
akallabeth
dc8d8553e8
[utils,smartcard] ensure '\0' termination for NDR
NDR read functions do not exactly know which kind of string is read and
if it contains a '\0', so ensure that we add one large enought to hold a
unicode '\0'
2024-10-10 16:25:41 +02:00
akallabeth
b4dbecd506
[primitives,copy] fix issues with SSE 4.1 and AVX2
* Deactivate optimized image_copy_bgr24_bgrx32
* Fall back to generic implementation instead of copying that code
2024-10-10 15:23:43 +02:00
akallabeth
7e28e0890c
[primitives,copy] remove invalid optimized branch 2024-10-10 15:23:33 +02:00
akallabeth
3ddc0e7c73
[primitives,copy] use loop unroll pragma 2024-10-10 15:23:30 +02:00
akallabeth
f5171b6b47
[primitives,sse] skip optimized copy on wrong alignment 2024-10-10 15:23:28 +02:00
akallabeth
62e8270db1
[codec,color] assert overlapping state in image copy 2024-10-10 15:23:26 +02:00
akallabeth
0fa9e73de6
[primitives,test] add new unittest for copy_no_overlap 2024-10-10 15:23:24 +02:00
akallabeth
99b5d2298b
[primitives,sse] fix a bug in sse4.1 primitives copy 2024-10-08 09:38:20 +02:00
akallabeth
6c8c67b385
Merge pull request #10677 from akallabeth/int-narrow
Int narrow
2024-10-03 21:17:56 +02:00
akallabeth
e14b7a1f29
[crypto,cert] cleanup cert chain duplication/cleanup 2024-10-03 20:35:39 +02:00
akallabeth
830f208ec4
[cyrpto,x509] delete unused function 2024-10-03 19:36:47 +02:00
akallabeth
ac1a922774
[common,settings] annotate freerdp_settings_set_value_for_name
we cast a SSIZE_T to the required enum value. Since we do not know the
enum contains any value at all it might lead to compiler/analyzer
warning us about that. Silence the warning as we can not avoid it.
2024-10-03 18:59:20 +02:00
akallabeth
31570e31e1
[crypto] fix integer narrowing 2024-10-03 18:59:18 +02:00
akallabeth
46c1ae145c
[crypto,certificate] fix integer narrowing 2024-10-03 18:59:16 +02:00
akallabeth
a54a602dcc
[crypto,certificate] fix stackof handling 2024-10-03 18:59:14 +02:00
akallabeth
315f793078
[common,settings] fix integer narrowing 2024-10-03 18:59:11 +02:00
akallabeth
b5dbe5a167
[emu,scard] fix integer narrow 2024-10-03 18:58:46 +02:00
akallabeth
e13273d94d
[utils,test] fix integer narrow 2024-10-03 18:58:44 +02:00
Martin Fleisz
966ddd13df
Merge pull request #10694 from akallabeth/qa-fixes
Qa fixes
2024-10-03 13:09:06 +02:00
akallabeth
cfc37caeb8
[cmake] cleaning_configure_file
add a wrapper to automatically add generated files to clean target
2024-10-02 23:28:08 +02:00
Armin Novak
0146deb4c0
[crypto,tls] global certificate configuration
Add a global configuration file which allows predefined settings for
certificate handling.
2024-10-02 23:28:03 +02:00
Armin Novak
dcdb0bb3b2
[utils,helpers] add a function to get FreeRDP config file paths 2024-10-02 23:28:00 +02:00
Armin Novak
0df01bcf8d
[cmake] Allow disabling AVX2 extensions 2024-10-02 15:14:29 +02:00
akallabeth
fe8555a4fd
[warnings] annotate cert-err34-c 2024-10-01 13:05:36 +02:00
akallabeth
f6eb6ad4d7
[utils,string] add freerdp_extract_key_value
* Add new function freerdp_extract_key_value to extract key/value pairs
  from a string
* replace all sscanf usages with this new function
2024-10-01 13:05:34 +02:00
akallabeth
574742bae8
[warnings] annotate readability-non-const-parameter 2024-10-01 13:05:19 +02:00
akallabeth
ae61278d18
[core,gateway] annotate DeadStore warnings 2024-10-01 13:05:16 +02:00
akallabeth
a1a8846ad2
[utils,proxy] refactor proxy_parse_uri
* eliminate deadstore warnings
* fix missing input checks
2024-10-01 13:05:14 +02:00
akallabeth
8a0194c105
[clang-tidy] annotate suspicious-memory-comparison 2024-10-01 13:05:11 +02:00
akallabeth
e2eb8f6a28
[codec,xcrush] annotate bugprone-sizeof 2024-10-01 13:04:52 +02:00
akallabeth
1145eb0fc9
[core,gateway] annotate bugprone-sizeof-expression 2024-10-01 13:04:47 +02:00
akallabeth
490ca0453b
[winpr,stream] use Stream_BufferAs instead of casting 2024-10-01 10:34:42 +02:00
akallabeth
11b7633dc0
[channels] use Stream_BufferAs
For WTSVirtualChannelRead and WTSVirtualChannelWrite use Stream_BufferAs
to cast to correct type.
2024-10-01 10:28:13 +02:00
akallabeth
a85068d42e
[core,gateway] allow websocket write up to UINT32_MAX 2024-10-01 10:14:03 +02:00
akallabeth
47c5070805
Merge pull request #10635 from akallabeth/initialize-variables
Initialize variables
2024-09-30 16:04:20 +02:00
akallabeth
508238711c
Merge pull request #10676 from akallabeth/cmake-file-to-hex
Cmake file to hex
2024-09-30 15:58:18 +02:00
akallabeth
aa47e58f11
[core,settings] disable clang-tidy warning
we allocate a UINT32** using calloc and casting it. This allows freeing
this up with free but yields some warnings. Disable for this specific
case
2024-09-30 15:41:45 +02:00
akallabeth
c319541f0d
[core,settings] add unit test
Test cases for freerdp_settings_check_client_after_preconnect
2024-09-30 15:41:31 +02:00
akallabeth
d71c9c566a
[core,settings] monitor configuration check
* fix origin check, might not be primary monitor
* fix a memory leak
2024-09-30 15:41:23 +02:00
akallabeth
fffabcaab1
[primitives,opencl] Use CMake to include opencl code
* Use CMake to convert opencl source file to C constant
* Mark opencl sources as headers and add to CMake to show in IDE
2024-09-30 10:50:42 +02:00
akallabeth
dd98b20f4a
[core,utils] improve utils_str_is_empty 2024-09-30 09:32:15 +02:00
akallabeth
55a5fe26fb
[common,test] remove redundant cast 2024-09-30 09:32:12 +02:00
akallabeth
1947f28a70 [codec,fdk] fix use of strcat 2024-09-30 09:31:36 +02:00
akallabeth
f529345d84 [warnings] fix Wcast-qual 2024-09-30 09:31:36 +02:00
akallabeth
c470b23795
Merge pull request #10672 from akallabeth/multimon-warn
Multimon warn
2024-09-27 10:44:06 +02:00
Martin Fleisz
9ec3d9dc0b
Merge pull request #10679 from akallabeth/rdpei-no-thread
Rdpei no thread
2024-09-27 09:58:44 +02:00
akallabeth
cf809e6388
[core,settings] add settings validation
after client side preconnect validate the settings.
Currently checks for some monitor layout limitations are implemented
2024-09-27 09:44:40 +02:00
akallabeth
f400b9a602
[core,client] fix freerdp_channels_check_fds
unify freerdp_channels_check_fds and
freerdp_channels_process_pending_messages as they both do the same
thing.
2024-09-26 17:01:14 +02:00