1357 Commits

Author SHA1 Message Date
Armin Novak
782c3d3069 [client,common] check _fseeki64 return
propagate error conditions back the call chain
2026-03-03 17:15:12 +01:00
Armin Novak
75d8f295b4 [checks,return] Fix missing *_foreach return checks
* Check HashTable_Foreach return
* Check ArrayList_ForEach return
2026-03-03 11:07:59 +01:00
Armin Novak
b724ba546d [checks,return] fix various unchecked return values 2026-03-03 09:40:27 +01:00
Armin Novak
212d4d5e29 [client,common] add return checks 2026-03-02 18:32:38 +01:00
Armin Novak
89ab3c6c1b [nodiscard] Fix all winpr_RAND usages
* Check return value and act on it.
* Initialize arrays that were missed before.
2026-02-27 15:52:26 +01:00
Armin Novak
465a6353d5 [c23,client] replace NULL with nullptr 2026-02-26 15:42:59 +01:00
Armin Novak
e58819830a [c23] simplify boolean checks 2026-02-26 11:51:05 +01:00
Armin Novak
0531803808 [warnings] make function declaration names consistent
Use the same parameter names for declaration and implementation.
2026-02-26 10:35:25 +01:00
Armin Novak
48267edf2f [winpr] add WINPR_C_ARRAY_INIT
since C23 allows c++ style initializing replace direct use with this
macro
2026-02-25 19:23:08 +01:00
Armin Novak
3fcc287b16 [warnings] initialize all va_list 2026-02-25 07:41:39 +01:00
Armin Novak
55f6827f6d [client,common] filter some error codes from reconnect
Credential and account errors are most likely related to a permanent
error server side. Do not try to reconnect.
2026-02-23 11:55:33 +01:00
Armin Novak
5475aeecf1 [client,common] fix mask for freerdp_client_handle_touch 2026-02-18 13:23:48 +01:00
Armin Novak
df64d00a97 [warnings,api] fix -Wunused-result
With marking publid API [[nodiscard]] some problematic error checks in
the core library were uncovered. This commit addresses these
shortcomings.
2026-02-17 11:07:08 +01:00
Armin Novak
f4b0549c5b [client,warnings] properly handle function return 2026-02-16 09:18:38 +01:00
Armin Novak
9ecfb268fe [freerdp,client] mark function pointers [[nodiscard]] 2026-02-16 09:18:35 +01:00
Armin Novak
dac2c20800 [client,common] use application details for messages 2026-02-10 11:20:14 +01:00
akallabeth
fe9a1b0eed [client,sdl] add error checks and logs 2026-01-28 21:31:54 +01:00
akallabeth
495a82c463 [client] mark all WINPR_ATTR_MALLOC also nodiscard 2026-01-26 13:22:28 +01:00
akallabeth
d4ae1a546f [client,common] add FREERDP_TOUCH_CANCEL
* Add flag FREERDP_TOUCH_CANCEL
* Add function freerdp_handle_touch_cancel
2026-01-25 08:56:03 +01:00
akallabeth
ea419300b7 [client,common] fix memory leak in rdpParser
When duplicate lines are found in a RDP file the old entry was not freed
up.
2026-01-23 22:34:11 +01:00
akallabeth
3194bd7023 [client,common] fix /sec: help text
One of rdp|tls|nla|... is required, remove the optional braces.
2026-01-20 14:58:40 +01:00
akallabeth
cc1f3c28b3 [c,printf] fix wlog format string to match arguments 2026-01-16 11:40:47 +01:00
akallabeth
17fb44d508 [c,printf] fix wlog format string to match arguments 2026-01-16 11:40:44 +01:00
akallabeth
88ea351a27 Merge pull request #12115 from akallabeth/rguard-fix
[client,common] fix /remoteGuard
2026-01-09 09:58:01 +01:00
Armin Novak
164dfef442 [warnings] fix signed/unsigned compare warnings 2026-01-09 09:24:19 +01:00
akallabeth
3743a097cf [client,common] fix /remoteGuard
The #ifdef condition was inverted, fix it.
2026-01-09 08:30:59 +01:00
Armin Novak
d006d2eff6 [clang,warnings] fix Wjump-misses-init 2026-01-08 11:32:36 +01:00
Armin Novak
de00daba43 [clang,warnings] fix Wjump-misses-init 2026-01-08 11:32:36 +01:00
Armin Novak
71b113ceb0 [clang,warnings] fix Wjump-misses-init 2026-01-08 11:32:36 +01:00
Martin Fleisz
2c559627f7 [client,common]: Fix loading of rdpsnd channel 2025-12-15 15:26:20 +01:00
akallabeth
b160ea80e8 [mingw] fix type incompatibilities
The integer types with MINGW do not always match. Ensure the correct
32bit interger base type is used when passing pointers
2025-12-12 19:09:30 +01:00
akallabeth
44ab77c035 Merge pull request #12055 from akallabeth/sanitize-hostname
[crypto,certificate] sanitize hostnames
2025-12-09 09:01:19 +01:00
akallabeth
e763541d8d [client,common] add vsock:// syntax to help 2025-12-09 08:42:31 +01:00
akallabeth
0f5c53d3e5 [client,common] handle AUTH_RDSTLS separate
The requirements for that authentication type are different, so handle
it not like the rest.
2025-12-07 08:16:16 +01:00
David Fort
0c06dd98e5 Fix inverted ifdef 2025-12-02 07:31:39 +01:00
David Fort
8df50f44b6 Fix remote credential guard channel loading
This patch fixes the loading of the RCG channel. It also adds a guard so the
/remoteGuard cmdline doesn't work if the channel is not built in.
2025-12-01 18:13:05 +01:00
Nathan Pratta Teodosio
b9776e02ee [common,test] Adjust AVC and H264 expectations.
Closes #11950, https://launchpad.net/bugs/2132293.
2025-11-24 12:20:24 +01:00
Alex Iribarren
64f9637fcb Update command line usage for gateway option 2025-11-18 16:01:39 +01:00
akallabeth
5223fd55cb [client,common] fix retry counter
The counter must start at 0 and be incremented afer use
2025-11-13 15:06:30 +01:00
akallabeth
6c7b798cb5 [client,common] improve multitouch mouse emulation 2025-10-31 09:07:01 +01:00
Olivier Blin
1a33e4dea3 [client,common] do not attempt to load channels disabled at build time 2025-10-21 14:27:02 +02:00
Olivier Blin
8587684401 [client,common] fix build without client channels 2025-10-21 14:27:02 +02:00
Loïc Yhuel
8bbc31eb53 [client,common] fix build without RDPEI channel
Also fix existing error messages to mention CHANNEL_RDPEI_CLIENT instead of
WITH_CHANNELS to be more specific.
2025-10-21 14:26:18 +02:00
akallabeth
625376a937 [client,common] adjust settings test results
the change in the rdp file parser changes expected output after rdp file
parsing. Adjust results accordingly
2025-10-03 13:44:50 +02:00
akallabeth
d7c1ce80d9 [client,common] fix parsing of enablerdsaadauth
Only change FreeRDP_AadSecurity and do not touch other options
2025-10-03 13:25:53 +02:00
Armin Novak
c0da27476f [client,common] improve retry handling
* Log each return path
* Correctly apply the returned delay
2025-10-01 09:13:47 +02:00
akallabeth
a5ba33eb68 [client,common] remove useless printf 2025-09-29 11:46:06 +02:00
akallabeth
9677931343 [core,arm] fix domain setting
While AzureAD seems to be required for many setups, some need an empty
domain (or maybe a different all together?)
So only provide a sane default and allow user override.
2025-09-29 10:17:01 +02:00
akallabeth
74648eb3a9 [c,standard] use C99 inline 2025-09-26 11:29:26 +02:00
akallabeth
571916a40f Merge pull request #11882 from akallabeth/entra-fixes
Entra fixes
2025-09-24 18:07:00 +02:00