Commit Graph

6241 Commits

Author SHA1 Message Date
akallabeth
62e556f4d0
[warnings] fix integer narrowing 2024-10-14 10:31:43 +02:00
akallabeth
343900d227
[crypto,cert] make a deep copy of the certificate chain
The parameters of freerdp_certificate_new_from_x509 are const, so only
work with a copy of the input.
2024-10-14 10:31:35 +02:00
Martin Fleisz
dcc288c3d1
Merge pull request #10704 from akallabeth/int-narrow-cleanups
Int narrow cleanups
2024-10-14 09:51:06 +02:00
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
f00d9c45e0
[warnings] fix integer narrowing
fix function freerdp_tls_write_all
2024-10-03 21:21:46 +02:00
akallabeth
503b9f0bb7
[warnings] fix integer narrowing 2024-10-03 21:21:45 +02:00
akallabeth
04bd097455
[warnings] fix integer narrowing 2024-10-03 21:21:43 +02:00
akallabeth
cdb25ea11b
[warnings] fix integer narrowing 2024-10-03 21:21:38 +02:00
akallabeth
08afc250a3
[warnings] fix integer narrowing 2024-10-03 21:21:36 +02:00
akallabeth
40ba7aa03a
[warnings] fix integer narrowing 2024-10-03 21:21:36 +02:00
akallabeth
429474cd0f
[warnings] fix integer narrowing 2024-10-03 21:21:35 +02:00
akallabeth
5e6d0a4183
[warnings] fix integer narrowing 2024-10-03 21:21:35 +02:00
akallabeth
eea56dcf60
[warnings] fix integer narrowing 2024-10-03 21:21:34 +02:00
akallabeth
69b9f81c29
[warnings] fix integer narrowing 2024-10-03 21:21:33 +02:00
akallabeth
afc4f9b92a
[warnings] fix integer narrowing 2024-10-03 21:21:33 +02:00
akallabeth
142d112eee
[warnings] fix integer narrowing 2024-10-03 21:21:32 +02:00
akallabeth
83921b0f67
[warnings] fix integer narrowing 2024-10-03 21:21:32 +02:00
akallabeth
42d66eaebe
[warnings] fix integer narrowing 2024-10-03 21:21:31 +02:00
akallabeth
f9bfaba0d2
[warnings] fix integer narrowing 2024-10-03 21:21:30 +02:00
akallabeth
e878927cd7
[warnings] fix integer narrowing 2024-10-03 21:21:29 +02:00
akallabeth
2e23ddfc1c
[warnings] fix integer narrowing 2024-10-03 21:21:27 +02:00
akallabeth
fe8e1950aa
[warnings] fix integer narrowing 2024-10-03 21:21:21 +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