akallabeth
78acedb40e
[warnigns] fix Wshorten-64-to-32
2024-11-11 10:22:37 +01:00
Martin Fleisz
1520d94d33
Merge pull request #10797 from akallabeth/warn-fixes
...
Warn fixes
2024-11-07 13:50:51 +01:00
Martin Fleisz
c7486fc47b
Merge pull request #10801 from akallabeth/cleanups
...
Cleanups
2024-11-07 13:03:36 +01:00
akallabeth
7e7ea3e688
[core,settings] WINPR_ATTR_MALLOC for alloc_array
2024-11-07 11:46:50 +01:00
akallabeth
315ab17984
[core,rdstls] use less verbose logging
...
the rdstls_recv function is called with possibly incomplete data, do not
log length check failures
2024-11-06 20:41:01 +01:00
akallabeth
ec9b5c33bc
[core,rdstls] do silent password check
...
In rdstls_parse_pdu_data_type do not use logging stream functions. This
function might be called with incomplete data so avoid spamming the log.
2024-11-05 17:50:47 +01:00
akallabeth
1b177eeda9
[core,security] fix assertion
...
The assert for the buffer size required too many bytes in the output
buffer.
2024-10-31 13:11:57 +01:00
akallabeth
4ec28e1f82
[warnings] fix -Wimplicit-int-conversion
2024-10-31 11:42:29 +01:00
akallabeth
dcf5a8e28c
[warnings] fix -Wswitch-default
2024-10-31 11:42:24 +01:00
akallabeth
dc76879e0b
[warnings] fix some compiler warnings
...
* fix compiler warnings found in a lot of places
* add missing enum type for clipboard channel
* mark deallocator for winpr image function
2024-10-30 16:12:20 +01:00
akallabeth
3ae0a10142
[core] replace usage of winpr_Cipher_New
...
prefer winpr_CipherNewEx to be on the safe side.
2024-10-30 13:22:52 +01:00
akallabeth
2b0b52be9e
[core,rdp] adjust warning for RC4
...
RC4 is not supported by winpr_Cipher_New but only by explicitly calling
winpr_RC4_New. Adjust the availability test to use the correct
functions.
2024-10-30 13:22:50 +01:00
akallabeth
566d4cf637
[stream] fix sign issues with stream API use
2024-10-29 15:50:07 +01:00
akallabeth
aa954d9be9
[warnings] fix various compiler warnings
2024-10-29 15:49:43 +01:00
akarl10
1ea08b776f
Fix Http Negotiate for Websocket
...
When using negotiate in non direct NTLM mode the success response
contains an aditional token for the authentication layer.
Add HTTP_STATUS_SWITCH_PROTOCOLS to the list of valid HTTP status codes
where to extract the last auth token
2024-10-26 23:43:37 +02:00
akallabeth
5f86284663
[core,orders] fix update_write_coord
...
* Add value range checks
* Add proper log message
* Add failure return
2024-10-25 11:48:14 +02:00
akallabeth
738cbd54b2
[core] fix issues with value ranges written
2024-10-25 11:48:12 +02:00
akallabeth
392a085728
[core,settings] enforce fullscreen monitor requirements
...
* Monitor must start at 0/0
* Monitor must be primary
2024-10-24 11:32:10 +02:00
akallabeth
401f81683c
[core,settings] fake monitor in window mode
...
RDP requires sending monitor information to the server. If we are in
windowed mode fake that information with the windows size
2024-10-24 11:32:03 +02:00
akallabeth
1675d926d2
Merge pull request #10776 from akallabeth/packaging-tests
...
[cmake] split tests
2024-10-24 11:26:17 +02:00
akallabeth
de055a6765
Merge pull request #10777 from akallabeth/cmake-build-type
...
[cmake] enforce a supported build type
2024-10-24 09:47:47 +02:00
Armin Novak
527db6783b
[cmake] split tests
...
* Keep BUILD_TESTING, but only run tests compatible with API (for
packaging)
* Add BUILD_TESTING_INTERNAL for all tests including internal function
tests that modify API to be run on our CI
2024-10-24 09:45:44 +02:00
akallabeth
d511316e86
[core,rdp] add build and supported cipher/digest checks
...
checking for:
* WITH_VERBOSE_WINPR_ASSERT (runtime slowdown)
* digests MD4, MD5, SHA1 and SHA256
* HMAC md5 and sha1
* Cipher RC4/ARC4_128, DES_EDE3_CBC, AES128_CBC, AES192_CBC,
AES_256_CBC
2024-10-24 09:12:22 +02:00
Armin Novak
e48fb1eabd
[core,warnings] warn about runtime check options
2024-10-24 09:08:03 +02:00
Armin Novak
9b32cc59b8
[core,gateway] restore non-local value
2024-10-23 10:52:21 +02:00
akallabeth
4f4d400f7e
[core,gateway] fix out of range check
2024-10-22 09:50:36 +02:00
akallabeth
8b3f807a0a
[warnings] fix format warnings
2024-10-17 20:47:29 +02:00
akallabeth
b5d4339d86
[core,fastpath] fix error unlock
2024-10-15 22:44:16 +02:00
akallabeth
026b5218ff
[warnings] fix integer narrowing
2024-10-14 10:32:09 +02:00
akallabeth
f0c1cbe20f
[warnings] fix integer narrowing
2024-10-14 10:32:03 +02:00
akallabeth
f00d9c45e0
[warnings] fix integer narrowing
...
fix function freerdp_tls_write_all
2024-10-03 21:21:46 +02:00
akallabeth
04bd097455
[warnings] fix integer narrowing
2024-10-03 21:21:43 +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
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
1145eb0fc9
[core,gateway] annotate bugprone-sizeof-expression
2024-10-01 13:04:47 +02:00